summaryrefslogtreecommitdiffstats
path: root/README
blob: 6afcca7815625b0c9f6eb144d80e21476a9ff7cc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# License
 See LICENSE file.

# Authors
 See AUTHORS file.

# Dependencies
 - python
 - mysql-python or python-pysqlite
 - Django = 0.96

# Installation
For a simple testing installation:

 1. Install dependencies.
   pacman -S django python-pysqlite sqlite3

 2. Fetch adn Extract test database
   For simple testing, sqlite is a good option. We have provided an 
   example test database.
   wget http://dev.archlinux.org/~eliott/archweb_sqlite.db.gz -O - | zcat > archweb.db

 3. Copy local_settings.py.example to local_settings.py and modify
   Make sure to uncomment the sqlite section.

 4. Use the following commands to start a service instance
   export PYTHONPATH=`pwd`:${PYTHONPATH} 
   export DJANGO_SETTINGS_MODULE=archweb_dev.settings 
   python manage.py runserver