Puritan/Instructions

From OLPC
< Puritan
Revision as of 21:58, 15 December 2008 by Mstone (talk | contribs)
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
 python2.5 ui/puritan/main.py   # read help
 sudo python2.5 ui/puritan/main.py -v build ./compilation HEAD ./results 

Some puritan compilations now feature both 'download' operations:

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

and 'interactive' error-handling:

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