Line 1: |
Line 1: |
| == Background == | | == Background == |
| | | |
− | This is [[Deployment_Platform/Deployment|one of possible]] deployment scenarios of [[Deployment_Platform]]. This page is intended to describe procedures for school servers that behave as gateways for school students. | + | This is [[Deployment_Platform/Deployment|one of the possible]] deployment scenarios for [[Deployment Platform]]. This page is intended to describe procedures for school servers that behave as gateways for school students. |
| | | |
| <big>'''Targeting environment'''</big> | | <big>'''Targeting environment'''</big> |
| | | |
− | The standard targeting environment, final environment might be similar, assumes: | + | The standard targeting environment assumes: |
| | | |
| * Dedicated hardware for school server; | | * Dedicated hardware for school server; |
| * Client machines connected via Intranet to the server. | | * Client machines connected via Intranet to the server. |
| + | The final environment might be similar. |
| | | |
| == Server side == | | == Server side == |
Line 36: |
Line 37: |
| port = 8000 | | port = 8000 |
| | | |
− | # path to a directory to place server data | + | # directories to place server data |
− | data-root = /var/lib/sugar-network | + | data-root = /var/lib/sugar-network/db |
| + | files-root = /var/lib/sugar-network/files |
| + | stats-root = /var/lib/sugar-network/stats |
| | | |
| # switch off user credentials check; disabling this option will require | | # switch off user credentials check; disabling this option will require |
Line 43: |
Line 46: |
| trust-users = True | | trust-users = True |
| | | |
− | Make sure that all directories in config file are created and current user have write permissions there. | + | Make sure that all directories in the config file are created and the current user has write permissions there. |
| | | |
| Run node server: | | Run node server: |
Line 53: |
Line 56: |
| === Synchronization with master node === | | === Synchronization with master node === |
| | | |
− | Note that newly installed Sugar Network node will be empty, its content should be fetched from the master node. | + | Note that the newly installed Sugar Network node will be empty, its content should be fetched from the master node. |
| | | |
| If school server has Internet connectivity, launch {{Code|sugar-network-node}} and start online synchronization: | | If school server has Internet connectivity, launch {{Code|sugar-network-node}} and start online synchronization: |
Line 78: |
Line 81: |
| Follow the [[Sugar_Network#On_desktop|Try it]] install instructions to setup Sugar Network client. | | Follow the [[Sugar_Network#On_desktop|Try it]] install instructions to setup Sugar Network client. |
| | | |
− | While working, Sugar Network client logs can be found {{Code|~/.sugar/default/logs/sugar-network-client}} file. Logging verbosity level depends on [[BugSquad/Get_Logs#Enabling_Sugar_debug_logging|global Sugar setting]]. | + | While working, Sugar Network client logs can be found in the {{Code|~/.sugar/default/logs/sugar-network-client}} file. The logging verbosity level depends on the [[BugSquad/Get_Logs#Enabling_Sugar_debug_logging|global Sugar setting]]. |
| + | |
| + | == Getting involved == |
| + | |
| + | {{:Deployment_Platform/Feedback}} |