Updated docs
[archweb_dev-nj.git] / README
blob1eeab4df970eb67b4144b2dffc55fb4f9f42d742
1 # License
2  See LICENSE file.
4 # Authors
5  See AUTHORS file.
7 # Dependencies
8  - python
9  - mysql-python or python-pysqlite
10  - Django = 0.96
12 # Installation
13 For a simple testing installation:
15  1. Install dependencies.
16    pacman -S django python-pysqlite sqlite3
18  2. Extract test database
19    For simple testing, sqlite is a good option. We have provided an 
20    example test database.
21    gzip -cd ./testing/database/archweb_sqlite.db.gz > archweb.db
23  3. Copy local_settings.py.example to local_settings.py and modify
24    Make sure to uncomment the sqlite section.
26  4. Use the following commands to start a service instance
27    export PYTHONPATH=`pwd`:${PYTHONPATH} 
28    export DJANGO_SETTINGS_MODULE=archweb_dev.settings 
29    python manage.py runserver
30