Commit f2c051d5 authored by Georgios Gousios's avatar Georgios Gousios
Browse files

Fixes #323

parent cd3e7ead
......@@ -5,7 +5,7 @@ Dependencies
Synnefo depends on the following Python modules
- django
- django 1.2
- django-piston
- simplejson
- selenium
......@@ -15,6 +15,18 @@ also, depending on the database engine of choice, on one of the following:
- MySQL-python
- psycopg2
Temporary fix - to be removed soon
After going through the installation instructions below, the following fix must
be applied.
jQuery.ajax POST is not working unless you edit lib/python2.6/site-packages/piston/
On def content_type change:
ctype = self.request.META.get('CONTENT_TYPE', type_formencoded)
ctype = self.request.META.get('CONTENT_TYPE', type_formencoded).split(";")[0]
Preparing the development environment
......@@ -150,16 +162,22 @@ print out DDL statements. It should not fail.
$ ./bin/python syncdb
$ ./bin/python loaddata db/fixtures/flavors.json
$ ./bin/python loaddata db/fixtures/images.json
The following fictures can be loaded optionally depending on
testing requirements:
$ ./bin/python loaddata db/fixtures/vms.json
$ ./bin/python loaddata db/fixtures/initial_data.json
$ ./bin/python loaddata db/fixtures/disks.json
7. Set the BACKEND_PREFIX_ID variable to some unique prefix, e.g. your commit
8. Start the system
$ ./bin/python db/ #Ganeti publisher
$ ./bin/python db/ #DB synch daemon
$ ./bin/python runserver #Django
9. Done
9. (Hopefully) Done
UI Testing
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment