Difference between revisions of "Deployment Platform/Internet"

From Sugar Labs
Jump to navigation Jump to search
Line 14: Line 14:
 
For now, there are the following Sugar Network servers publicly available from the Internet:
 
For now, there are the following Sugar Network servers publicly available from the Internet:
  
* [http://api-testing.network.sugarlabs.org/ api-testing.network.sugarlabs.org]<br>Recent stable release with data used in pilots; do not create temporal content here, use development server instead;
+
* [http://node-devel.sugarlabs.org/ node-devel.sugarlabs.org]<br>Development server which does not contain important data and is free for any experiments (administrative privileges for anonymous users);
  
* [http://api-devel.network.sugarlabs.org/ api-devel.network.sugarlabs.org]<br>Development server which does not contain important data and free for any experiments (administrative privileges for anonymous users).
+
* [http://node-testing.sugarlabs.org/ node-testing.sugarlabs.org]<br>Recent stable release with regular data import from the production server; is still free for any experiments;
 +
 
 +
* [http://node.sugarlabs.org/ node.sugarlabs.org]<br>Production server.
  
 
== Client side ==
 
== Client side ==
Line 26: Line 28:
 
  [client]
 
  [client]
 
  api-url = ''SERVER-API-URL-HERE''
 
  api-url = ''SERVER-API-URL-HERE''
 +
 +
By default, clients look for production server.
  
 
=== Run Sugar Network clients ===
 
=== Run Sugar Network clients ===
  
Right now, the easiest way to get working Sugar Network clients is using Sugar Shell with embedded Sugar Network support.
+
Follow the [[Sugar_Network#On_desktop|Try it]] install instructions to setup Sugar Network client.
 
 
On XO laptops, use [[Deployment_Platform/XO_reference_distribution#Try_reference_implementation|one of reference images]] or final deployment ones like from [http://pe.sugarlabs.org/go/Proyecto_Piloto_Hexoquinasa Hexoquinasa] project.
 
 
 
On regular desktops:
 
 
 
* [[Sweets_Distribution#Add_repository|Attach]] ''Factory'' [[Sweets Distribution]] repository;
 
* [[Sweets_Distribution#Installation|Install]] {{Code|sweets-desktop}} package;
 
* [[Sweets_Distribution#Usage|Run]] newly installed Sugar Shell;
 
* By default, Sugar Shell looks the same as in pristine Glucose. To start using Sugar Network related improvements in the Shell UI, go to the Sweets Distribution component in the Control Panel, enable the integration checkbox, and restart Sugar. After restarting, [[Platform_Team/Sugar_Network/Web_UI|Web UI]] client will be available from the Activities tray and the F8 shortcut key. [[Sugar_Network/Contributor_Hub|Contributor Hub]] client can be launched from F8 as regular Sugar Network application.
 
  
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 {{Code|~/.sugar/default/logs/sugar-network-client}} file. Logging verbosity level depends on [[BugSquad/Get_Logs#Enabling_Sugar_debug_logging|global Sugar setting]].
 
<!--
 
<!--
 
=== Client updates ===
 
=== Client updates ===

Revision as of 10:18, 3 June 2013

Background

This is one of possible deployment scenarios of Deployment Platform. This page is intended to describe procedures for end users connected to the Internet.

Targeting environment

The standard targeting environment assumes:

  • End users have reliable Internet connectivity all time.
  • Server is located in the Internet and has singular access point.

Server side

For now, there are the following Sugar Network servers publicly available from the Internet:

  • node-devel.sugarlabs.org
    Development server which does not contain important data and is free for any experiments (administrative privileges for anonymous users);
  • node-testing.sugarlabs.org
    Recent stable release with regular data import from the production server; is still free for any experiments;

Client side

Configuration

Point clients to one of existing Sugar Network servers by populating /etc/sweets.conf configuration file with the following options:

[client]
api-url = SERVER-API-URL-HERE

By default, clients look for production server.

Run Sugar Network clients

Follow the Try it install instructions to setup Sugar Network client.

While working, Sugar Network client logs can be found ~/.sugar/default/logs/sugar-network-client file. Logging verbosity level depends on global Sugar setting.