Activities/Learn: Difference between revisions

Tony37 (talk | contribs)
Tony37 (talk | contribs)
 
(One intermediate revision by the same user not shown)
Line 40: Line 40:
From this website download these files and copy them to the XXX drive:
From this website download these files and copy them to the XXX drive:


[[Image:Kls_demo_2.tar.bz2]] is a 50mb file which contains the sample content kls and other files  
[[File:Kls_demo_2.tar.bz2]] is a 50mb file which contains the sample content kls and other files  
for the Learn activity. Unpack it with the command:
for the Learn activity. Unpack it with the command:


tar -xvjf Kls_demo_2.tar.bz2
tar -xvjf Kls_demo_2.tar.bz2


There will now be a folder: kls. This folder contains a sample of the content which would normally be found on the school server.
This populates the drive with the scripts and the kls folder which contains the sample content. Optionally, delete the compressed file: Kls_demo_2.tar.bz2:


[[File:xo-custom]] is a script which installs Learn from the bundle. It installs Firefox from the tar file on the XXX drive. It  modifies two files in Sugar: sugar-launch and SimpleHTTPServer.py. These changes have no effect on
rm -rf Kls_demo_2.tar.bz2
normal Sugar use. Finally it sets up the XO to start the localhost daemon at boot.
 
xo-custom is a script which sets up the XO to use the Learn.activity. It installs Firefox from the tar file on the XXX drive. It  modifies two files in Sugar: sugar-launch and SimpleHTTPServer.py. Finally it sets up the XO to start the localhost daemon at boot. These changes do not affect normal operation of Sugar.


Download learn-61.xo from the activities.sugarlabs.org site. Copy this bundle to the XXX drive.
Download learn-61.xo from the activities.sugarlabs.org site. Copy this bundle to the XXX drive.