Platform Team/Sugar Network/Implementation: Difference between revisions

Line 131: Line 131:
  [main]
  [main]
  debug = 3
  debug = 3
# path to a directory to place log files
logdir = /var/log/sugar-network
# path to a directory to place pid files
rundir = /var/run/sugar-network
   
   
  [node]
  [node]
  host = 0.0.0.0
  host = 0.0.0.0
  port = 8000
  port = 8000
# path to a directory to place server data
data-root = /var/lib/sugar-network
   
   
  # switch off user credentials check; disabling this option will require
  # switch off user credentials check; disabling this option will require
Line 140: Line 149:
  trust-users = True
  trust-users = True


* Run node server using the {{Code|sugar-network-node start}} command; if you called run command from a non-root user, see output errors to create/chown all required directories and files;
* Make sure that all directory in config file are created and current user have write permissions;
 
* Run node server using the {{Code|sugar-network-node start}} command;


* Find log files in the {{Code|/var/log/sugar-network-node.log}} file.
* Find log files in the {{Code|/var/log/sugar-network-node.log}} file.