Carriage return.
[archweb_dev-nj.git] / README
blob0d92063fb88e2b826066cda03de432224aeb329d
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. Fetch and extract test database
19    For simple testing, sqlite is a good option. We have provided an 
20    example test database.
21    wget http://dev.archlinux.org/~eliott/archweb_sqlite.db.gz -O - | zcat > 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
31  5. The test database has a few test accounts in it.
32    To login, use the following credentails.
33    User: admin
34    Pass: pass
36    You can then reset the password on any of the test users by
37    going into the django admin interface and doing so.