[Sugar-devel] offline a.sl.o

Aleksey Lim alsroot at sugarlabs.org
Thu Nov 29 20:09:51 EST 2012


On Sun, Nov 25, 2012 at 08:04:36PM -0800, Sameer Verma wrote:
> Has anyone looked into running an offline copy of
> activities.sugarlabs.orgon a server that isn't on the Internet (a la
> XS)?

To run ASLO copy on a standalone server, you need to install ASLO/AMO
php application (http://wiki.sugarlabs.org/go/Activity_Library/Devel
but instructions might be outdated) and clone MySQL data with activity
files (~9G). Some time ago, SL used 2nd ASLO node, but it used the same
MySQL and files storage.

There is the same need in "ASLO" on a school server in the field. But
in my mind, trying to adapt ASLO/AMO to this scheme is an overkill.
The real environments might assume lack of maintaining or restricted
school servers (for example XO laptops in offline schools), i.e.,
Apache+MySQL+PHP+ASLO/AMO is a real misuse.

In this regard, Sugar Network[1] was initiated a ~year ago, i.e.,
content sharing system (in contrast to ASLO, SN will provide
non-software content like books or Journal objects). Sugar Network
functionality is explicitly split into server side and client
application(s). Server side is capable for running even on XO laptops
(XO-1.5 is preferable) in pure offline case (e.g. one-teacher schools in
Peru when people have only XO laptops) with further offline
synchronization[2]. Clients might be any applications that use REStful
API provided by Sugar Network node (master server like ASLO or any
distributed node). For now there are two clients[3] written as a
lightweight Web application and one that is pure JS application.

The centralized scheme (like ASLO) is available right now[3] (it is
being assumed to be used in Peruvian pilot). The offline model is
in progress and should be ready, in some stage, during this year.


[1] http://wiki.sugarlabs.org/go/Sugar_Network
[2] http://wiki.sugarlabs.org/go/Deployment_Platform/Sneakernet
[3] http://wiki.sugarlabs.org/go/Sugar_Network#Try_it

-- 
Aleksey


More information about the Sugar-devel mailing list