]> git.ozlabs.org Git - patchwork/blobdiff - docs/INSTALL
patchwork: Explicitly load states fixtures
[patchwork] / docs / INSTALL
index 7e1f309ddf5b306decb5318a5b9d51d5b7493a7f..bd9577023deed4e75d72be67575e0599f40f7e62 100644 (file)
@@ -144,7 +144,16 @@ in brackets):
 
      PYTHONPATH=lib/python ./manage.py syncdb
 
-    And add privileges for your mail and web users. This is only needed if
+    and initialise the static content:
+
+     PYTHONPATH=lib/python ./manage.py collectstatic
+
+    You'll also need to load the initial tags and states into the
+    patchwork database:
+
+     PYTHONPATH=lib/python ./manage.py loaddata default_tags default_states
+
+    Finally, add privileges for your mail and web users. This is only needed if
     you use the ident-based approach. If you use password-based database
     authentication, you can skip this step.
 
@@ -246,9 +255,7 @@ in brackets):
     Something like this in your crontab should work:
 
       # m h  dom mon dow   command
-      PYTHONPATH=.
-      DJANGO_SETTINGS_MODULE=patchwork.settings.production
-      */10 * * * * cd patchwork; python patchwork/bin/patchwork-cron.py
+      */10 * * * * cd patchwork; ./manage.py cron
 
 
     - the frequency should be the same as the NOTIFICATION_DELAY_MINUTES