Deployment Platform/Internet: Difference between revisions

No edit summary
No edit summary
 
(5 intermediate revisions by one other user not shown)
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 end users connected to the [[#Targeting_environment|Internet]].
This is [[Deployment_Platform/Deployment|one of the possible]] deployment scenarios for [[Deployment Platform]]. This page is intended to describe procedures for end users connected to the [[#Targeting_environment|Internet]].


=== Targeting environment ===
<big>'''Targeting environment'''</big>


The standard targeting environment assumes:
The standard targeting environment assumes:


* End users have reliable Internet connectivity all time.
* End users have reliable Internet connectivity at all times.
* Server is located in the Internet and has singular access point.
* Server is located on the Internet and has singular access point.


== Server side ==
== Server side ==


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 on 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 that 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 ==


=== Configuration ===
<div id="Configuration"><big>'''Configuration'''</big></div>


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


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


=== Run Sugar Network clients ===
By default, clients look for the production server.
 
<div id="Configuration"><big>'''Run Sugar Network clients'''</big></div>


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.
While working, Sugar Network client logs can be found {{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]].


On regular desktops:
== Getting involved ==


* [[Sweets_Distribution#Add_repository|Attach]] ''Factory'' [[Sweets Distribution]] repository;
{{:Deployment_Platform/Feedback}}
* [[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]].
<!--
<!--
=== Client updates ===
=== Client updates ===