Go to file
2012-11-13 16:44:25 +05:30
chaloBEST some more tweaking to get CORS to work 2012-11-13 16:44:25 +05:30
errors added errors folder 2011-12-23 04:04:20 +05:30
gateway Add TrigramSearchManager to ChaloBEST models. 2012-02-28 18:14:19 +05:30
man/man1 Auth Basic Push 2012-06-24 19:57:44 +05:30
patches fix editstops js 2012-07-25 01:38:36 +05:30
smsBEST allow cross origin requests 2012-11-13 16:28:15 +05:30
sqldiff sql diff changed for route code and type id 2012-10-05 13:59:11 +02:00
wsgi inital project layout 2011-11-26 17:52:40 +05:30
fabfile.py edit fabfile 2012-05-11 02:59:05 +05:30
README add instructions for trigram search to README 2012-05-15 21:51:40 +05:30
requirements.txt allow cross origin requests 2012-11-13 16:28:15 +05:30

Note: If running postgres 9.1 and Django < 1.4, you will probably need this patch for things to work: https://code.djangoproject.com/raw-attachment/ticket/16778/postgis-adapter-2.patch . Reasons are explained here: http://stackoverflow.com/questions/7667724/error-saving-geodjango-pointfield

Don't forget to install python-psycopg2 and python-gdal for the sake of GeoDjango.

To install Trigram Search:
    psql <database_name>
    create extension pg_trgm;
    \q
    python manage.py trgmidx

chaloBEST

Get:
    bzr branch PUBLIC_URL chaloBEST
    cd chaloBEST
    virtualenv .
    pip -E . install -r requirements.txt

Develop:
    create chaloBEST/local_settings.py

    . bin/activate
    cd chaloBEST
    python manage.py shell

    python manage.py runserver

Deploy:
    create chaloBEST/local_settings.py

    create /etc/apache2/sites-availavle/sitename.conf