Re: clapp proof-of-concept
- From:
- Solomon Hykes
- Date:
- 2009-12-14 @ 14:54
On Mon 2009-12-14 09:42 , Solomon Hykes wrote:
> We have a functional POC. You can try it out at
> http://bitbucket.org/dotcloud/clapp
I pushed a few improvements which make it simpler to use (rev
d5b7bc13ea29). Follow the new steps below:
System-wide install
-------------------
pip install http://bitbucket.org/dotcloud/clapp/get/d5b7bc13ea29.gz
Developer install (probably what you want if you're reading this)
-----------------------------------------------------------------
hg clone http://bitbucket.org/dotcloud/clapp
cd clapp
curl -O http://bitbucket.org/ianb/virtualenv/raw/1.4.3/virtualenv.py
python virtualenv.py --distribute --no-site-packages env
./env/bin/python setup.py install
. ./env/bin/activate
Copy and configure the sample image
-----------------------------------
cp -R sample.clapp host1.clapp
clapp.py host1.clapp '{"hostname": "host1"}'
cat sample.clapp/etc/hostname
Ta-da!
Re: [clapp] clapp proof-of-concept
- From:
- Solomon Hykes
- Date:
- 2009-12-14 @ 08:44
On Mon 2009-12-14 09:42 , Solomon Hykes wrote:
> # echo '<%= config.hostname %>'> lenny.clapp/etc/hostname
Correction: use "args.hostname", not "config.hostname". The
configuration format is defined in the code as a json-schema.