You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Sanj
2a6950e3b7
|
12 years ago | |
---|---|---|
conf | 13 years ago | |
gazetteer | 12 years ago | |
wsgi | 13 years ago | |
README | 12 years ago | |
fabfile.py | 13 years ago | |
requirements.txt | 12 years ago |
README
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 .
. bin/activate
pip -E . install -r requirements.txt
Patch:
wget https://code.djangoproject.com/raw-attachment/ticket/9806/9806.5.diff
cd src/django
patch -p0 < ../../9806.5.diff
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