Skip to content

Commit

Permalink
Simplify instructions to load all fixtures in README
Browse files Browse the repository at this point in the history
Difference from Dieter's original patch: do it in one step, and add a
bit more information.

Original-work-by: Dieter Plaetinck <dieter@plaetinck.be>
Signed-off-by: Dan McGee <dan@archlinux.org>
  • Loading branch information
toofishes committed May 2, 2011
1 parent 5379348 commit c8ee888
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions README
Original file line number Diff line number Diff line change
Expand Up @@ -54,12 +54,10 @@ packages, you will probably want the following:

(archweb-env) $ ./manage.py migrate

6. Load the fixtures to prepopulate some data.
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) $ ./manage.py loaddata main/fixtures/arches.json
(archweb-env) $ ./manage.py loaddata main/fixtures/repos.json
(archweb-env) $ ./manage.py loaddata main/fixtures/groups.json
(archweb-env) $ ./manage.py loaddata mirrors/fixtures/mirrorprotocols.json
(archweb-env) $ ./manage.py loaddata */fixtures/*.json

7. Use the following commands to start a service instance

Expand Down

0 comments on commit c8ee888

Please sign in to comment.