Statistics
| Branch: | Tag: | Revision:

root / README @ 2cc9d3a5

History | View | Annotate | Download (819 Bytes)

1
Synnefo
2
=======
3

    
4
Installation
5
------------
6
    $ sudo easy_install virtualenv
7
    ....
8
    $ git clone https://user@code.grnet.gr/git/synnefo synnefo
9
    $ virtualenv --python=python2.6 synnefo --no-site-packages
10
    ...
11
    $ cd synnefo
12
    $ ./bin/pip install django django-piston pycurl simplejson
13
    ...
14
    ...
15
    $ cp settings.py.dist settings.py
16
    $ ./bin/python manage.py runserver
17

    
18
Notes
19
1) On ubuntu systems, apt-get install libcurl3-gnutls libcurl3-gnutls-dev was needed
20
2) jQuery.ajax POST is not working unless you edit piston/utils.py. 
21
On def content_type change
22

    
23
        ctype = self.request.META.get('CONTENT_TYPE', type_formencoded)
24

    
25
to 
26
        ctype = self.request.META.get('CONTENT_TYPE', type_formencoded).split(";")[0]
27

    
28
Initial data
29
---------
30
Initial data come with sqlite database.sqlite. 
31