Go to file
2011-09-02 08:29:06 +00:00
conf Add apache config. 2011-09-02 09:46:30 +02:00
gazetteer Update docs. 2011-09-02 08:29:06 +00:00
wsgi inital project layout 2011-08-16 22:27:39 +05:30
fabfile.py inital project layout 2011-08-16 22:27:39 +05:30
README Update docs. 2011-09-02 08:29:06 +00:00
requirements.txt added django-ajax-selects to requirements.txt and INSTALLED_APPS 2011-08-30 18:41:48 +05:30

Entropy Free / LC Digital Gazetteer installation

Install:
    python-pip
    python-virtualenv
    python-psycopg2
    postgresql-postgis-8.4
    postgresql-contrib-8.4
    apache2
    libapache2-mod-wsgi

Create the database:
    createdb gazetteer
    bzcat digital-gazetteer.sql.bz2 | psql gazetteer

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

Develop:
    create gazetteer/local_settings.py

    . bin/activate
    cd gazetteer
    python manage.py shell

    python manage.py runserver


Deploy:
    create gazetteer/local_settings.py
    copy conf/apache2.conf to /etc/apache2/sites-available and edit it