summaryrefslogtreecommitdiffstats
path: root/README
diff options
context:
space:
mode:
authoreliott <eliott@cactuswax.net>2008-04-18 03:57:06 +0200
committereliott <eliott@cactuswax.net>2008-04-18 03:57:06 +0200
commitd072a9f71752e0a279535b2a381a50e32912ff9b (patch)
treec6486cbe6abd35f13301efda247d429b4d6ea808 /README
parentd2b0a400050cfd3a120aeb1960a63c54bb567ee6 (diff)
downloadarchweb-d072a9f71752e0a279535b2a381a50e32912ff9b.tar.gz
archweb-d072a9f71752e0a279535b2a381a50e32912ff9b.tar.xz
Updated readme
Diffstat (limited to 'README')
-rw-r--r--README35
1 files changed, 13 insertions, 22 deletions
diff --git a/README b/README
index 0d92063..fc87e4c 100644
--- a/README
+++ b/README
@@ -13,26 +13,17 @@
For a simple testing installation:
1. Install dependencies.
- pacman -S django python-pysqlite sqlite3
-
- 2. Fetch and 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
-
- 5. The test database has a few test accounts in it.
- To login, use the following credentails.
- User: admin
- Pass: pass
-
- You can then reset the password on any of the test users by
- going into the django admin interface and doing so.
+ $ pacman -S django python-pysqlite sqlite3
+
+ 2. Copy local_settings.py.example to local_settings.py and modify.
+ Make sure to uncomment the appropriate db section (either sqlite or mysql).
+
+ 3. Sync the database to create it.
+ $ python manage.py syncdb
+
+ 4. Load the fixtures to prepopulate some data.
+ $ python manage.py loaddata arches.json repos.json
+
+ 5. Use the following commands to start a service instance
+ $ python manage.py runserver