Platform Team/Sugar Network/Implementation: Difference between revisions
m →Usage |
|||
| Line 128: | Line 128: | ||
* Populate the {{Code|/etc/sugar-network/config}} configuration file with the following content: | * Populate the {{Code|/etc/sugar-network/config}} configuration file with the following content: | ||
[main] | |||
debug = 3 | |||
[node] | [node] | ||
host = 0.0.0.0 | host = 0.0.0.0 | ||
port = 8000 | port = 8000 | ||
# switch off user credentials check; disabling this option will require | |||
# OpenSSH-5.6 or later | |||
trust-users = True | |||
* Run node server using the {{Code|sugar-network-node start}} command; | * 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 all required directories and files; | ||
* Find log files in the {{Code|/var/log/sugar-network-node.log}} file. | |||
On the ''Client'' side: | On the ''Client'' side: | ||
| Line 140: | Line 149: | ||
* Point ''Client'' to the newly launched ''Node'' (you all time can use one of [[Platform_Team/Sugar_Network/API#API_servers|public servers]]) in the {{Code|/etc/sweets.conf}} configuration file: | * Point ''Client'' to the newly launched ''Node'' (you all time can use one of [[Platform_Team/Sugar_Network/API#API_servers|public servers]]) in the {{Code|/etc/sweets.conf}} configuration file: | ||
[main] | |||
debug = 3 | |||
[client] | [client] | ||
api-url = http://''NODE-HOST-HERE'':8000 | api-url = http://''NODE-HOST-HERE'':8000 | ||
| Line 149: | Line 161: | ||
* Open [[Platform_Team/Sugar_Network/Web_UI|Web UI]] by pressing ''F8'' key; | * Open [[Platform_Team/Sugar_Network/Web_UI|Web UI]] by pressing ''F8'' key; | ||
* Find [[Sugar_Network/Contributor_Hub|Contributor Hub]] in the Web UI and launch it. | * Find [[Sugar_Network/Contributor_Hub|Contributor Hub]] in the Web UI and launch it; | ||
* Find log file in the standard {{Code|~/.sugar/default/logs}} directory. | |||
Note that newly installed ''Node'' will be empty, the process of populating it with public data will be implemented in upcoming release. | Note that newly installed ''Node'' will be empty, the process of populating it with public data will be implemented in upcoming release. | ||