Changes

Jump to navigation Jump to search
Line 16: Line 16:  
All [[Sugar_Network/Concept#Resources|resources]] are being represented as Active Document's classes, resource objects as Active Document's objects.
 
All [[Sugar_Network/Concept#Resources|resources]] are being represented as Active Document's classes, resource objects as Active Document's objects.
   −
== Instance ==
+
== Usage ==
 +
 
 +
=== Public instance ===
    
Testing instance is {{Code|api.network.sugarlabs.org}}. It support HTTPS connections using StartSSL certificate.
 
Testing instance is {{Code|api.network.sugarlabs.org}}. It support HTTPS connections using StartSSL certificate.
    
Add the {{Code|18.85.44.120 api.network.sugarlabs.org}} IP to {{Code|/etc/hosts}} file.
 
Add the {{Code|18.85.44.120 api.network.sugarlabs.org}} IP to {{Code|/etc/hosts}} file.
 +
 +
=== Local instance ===
 +
 +
Attach [http://download.sugarlabs.org/packages/Server:/Factory/ Server:Factory] repository. For Ubuntu repositories, download GPG key:
 +
 +
wget -qO- <REPO-URL>/Release.key | sudo apt-key add -
 +
 +
And install {{Code|sugar-network-server}} package.
 +
 +
To configure server, tweak configuration file (by default, server keep all data in {{Code|/var/lib/sugar-network}}):
 +
 +
/etc/sugar-network.conf
 +
 +
To start server:
 +
 +
/etc/init.d/sugar-network start
    
== Todo ==
 
== Todo ==

Navigation menu