summaryrefslogtreecommitdiffstats
path: root/README
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2011-05-02 17:36:20 +0200
committerDan McGee <dan@archlinux.org>2011-05-02 17:36:20 +0200
commitc8ee88837b00501acaa9661188594938a16b1a8e (patch)
tree6cd964940bd51566b277592d4c39b6e3d813484d /README
parent5379348c9337a4abe27e807fef7956e11eebed30 (diff)
downloadarchweb-c8ee88837b00501acaa9661188594938a16b1a8e.tar.gz
archweb-c8ee88837b00501acaa9661188594938a16b1a8e.tar.xz
Simplify instructions to load all fixtures in README
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>
Diffstat (limited to 'README')
-rw-r--r--README8
1 files changed, 3 insertions, 5 deletions
diff --git a/README b/README
index 3e31538..99bf74b 100644
--- a/README
+++ b/README
@@ -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