Commit 566088bb authored by Dan McGee's avatar Dan McGee
Browse files

Fix fixture dependency problem in README data loading

django.core.serializers.base.DeserializationError: Problem installing fixture '.../devel/fixtures/staff_groups.json': Group matching query does not exist.

Alphabetical ordering bit us here. Stop cheating in the README and spell
out the fixtures in an order that should work.
Noticed-by: Johannes Löthberg's avatarJohannes Löthberg <>
Signed-off-by: default avatarDan McGee <>
parent 0fc409ef
......@@ -32,15 +32,15 @@ packages, you will probably want the following:
1. Run `virtualenv2`.
$ cd /path/to/archweb && virtualenv2 ./env/
cd /path/to/archweb && virtualenv2 ./env/
2. Activate the virtualenv.
$ source ./env/bin/activate
source ./env/bin/activate
2. Install dependencies through `pip`.
(archweb-env) $ pip install -r requirements.txt
pip install -r requirements.txt
3. Copy `` to `` and modify.
Make sure to uncomment the appropriate database section (either sqlite or
......@@ -48,26 +48,29 @@ packages, you will probably want the following:
4. Sync the database to create it.
(archweb-env) $ ./ syncdb
./ syncdb
5. Migrate changes.
(archweb-env) $ ./ migrate
./ migrate
6. Load the fixtures to prepopulate some data. If you don't want some of the
provided data, adjust the file glob accordingly.
(archweb-env) $ ./ loaddata */fixtures/*.json
./ loaddata main/fixtures/*.json
./ loaddata devel/fixtures/*.json
./ loaddata mirrors/fixtures/*.json
./ loaddata releng/fixtures/*.json
7. Use the following commands to start a service instance
(archweb-env) $ ./ runserver
./ runserver
8. To optionally populate the database with real data:
(archweb-env) $ wget
(archweb-env) $ ./ reporead i686 core.db.tar.gz
(archweb-env) $ ./ syncisos
./ reporead i686 core.db.tar.gz
./ syncisos
Alter architecture and repo to get x86\_64 and packages from other repos if
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment