]> git.ozlabs.org Git - patchwork/blobdiff - docs/INSTALL
cron: Move patchwork-cron script to a management command
[patchwork] / docs / INSTALL
index cb0eccfc85a64dabe7cf82a1479156f72328d4aa..611fbb4258404acc58c3a5e380ce39cfd02cb230 100644 (file)
@@ -148,7 +148,12 @@ in brackets):
 
      PYTHONPATH=lib/python ./manage.py collectstatic
 
-    and add privileges for your mail and web users. This is only needed if
+    If you'd like to use the default tag set (Acked-by, Reviewed-by and
+    Tested-by), then load these default tags:
+
+     PYTHONPATH=lib/python ./manage.py loaddata default_tags
+
+    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.
 
@@ -250,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