Synnefo ======= Installation ------------ $ sudo easy_install virtualenv .... $ git clone https://user@code.grnet.gr/git/synnefo synnefo $ virtualenv --python=python2.6 synnefo --no-site-packages ... $ cd synnefo $ ./bin/pip install django django-piston pycurl simplejson selenium ... ... $ cp settings.py.dist settings.py $ ./bin/python manage.py syncdb $ cd synnefo/db $ ../bin/python db_controller.py ... $ cd synnefo $ ./bin/python manage.py runserver Notes ------ 1) On ubuntu systems: sudo aptitude install libcurl3-gnutls libcurl3-gnutls-dev 2) jQuery.ajax POST is not working unless you edit lib/python2.6/site-packages/piston/utils.py. On def content_type change: ctype = self.request.META.get('CONTENT_TYPE', type_formencoded) to ctype = self.request.META.get('CONTENT_TYPE', type_formencoded).split(";")[0] 3) On Ubuntu 10.04 (tested by mgogoulos) you'll have to install zmq-static with: sudo aptitude install uuid-dev ./bin/pip install pyzmq-static 4) Database initialization: [the following commands assume the DB is at "./database.sqlite"] recreate db, load db/fixtures/initial_data.json: $ rm database.sqlite $ bin/python manage.py syncdb load fixtures, as necessary [take a look under db/fixtures/]: $ bin/python manage.py loaddata db/fixtures/flavors.json $ bin/python manage.py loaddata db/fixtures/vms.json ...