Updated readme with some more data
[archweb_dev-nj.git] / README
blob5f19c2cf27eadef3f6ee12802a40346bf5a0e296
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
17    or
18    pacman -S django mysql mysql-python
20  2. Configure database
21    For simple testing, sqlite is a good option.
22    If using mysql, create a database, and a user with permission to 
23    that database.
25  3. Populate database with test data
26    Run ./scripts/testing/load_data.bash
28  4. Use the following commands to start a service instance
29    export PYTHONPATH=`pwd`:${PYTHONPATH} 
30    export DJANGO_SETTINGS_MODULE=archweb_dev.settings 
31    python manage.py runserver
32