Go to file
2012-06-24 19:57:44 +05:30
chaloBEST Auth Basic Push 2012-06-24 19:57:44 +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 Added GeoRSS feed for Route (same method to be followed for Areas / Stops) 2012-05-15 18:38:21 +05:30
smsBEST add css / templates for smsBEST 2012-05-15 18:33:43 +05:30
sqldiff admin files stable v1 2012-02-07 14:15:50 +01: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 Auth Basic Push 2012-06-24 19:57:44 +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