Puritan/Instructions

From OLPC
< Puritan
Revision as of 21:42, 15 December 2008 by Mstone (talk | contribs) (New page: To use Puritan, you need to install dependencies and to check out and run a 'ui' and a 'compilation'. # NB: mock >= 0.9.7 is needed. # ''debian'': sudo apt-get install mock git-cor...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

To use Puritan, you need to install dependencies and to check out and run a 'ui' and a 'compilation'.

 # NB: mock >= 0.9.7 is needed.
 # debian:
 sudo apt-get install mock git-core
 # fedora:
 sudo yum install mock git-core
 
 (git clone git://dev.laptop.org/users/mstone/puritan compilation; cd compilation; git checkout -b 767-$USER origin/767)
 git clone git://dev.laptop.org/users/mstone/puritan ui
 python ui/puritan/main.py   # read help
 sudo python2.5 ui/puritan/main.py -v ./compilation HEAD ./results build

Some puritan compilations now feature both 'download' operations:

 sudo python2.5 ui/puritan/main.py -v ./compilation HEAD ./results download

and 'interactive' error-handling:

 sudo python2.5  -v ./compilation HEAD ./results build -- -i
 git clone git://dev.laptop.org/users/mstone/puritan ui
 /usr/bin/python2.5 ui/puritan/main.py ./compilation HEAD ./results build