]> git.ozlabs.org Git - patchwork/blobdiff - docs/INSTALL
docs: Add collectstatic step to installation instructions
[patchwork] / docs / INSTALL
index fdee59297401284bc21a2cf991b819e8585fe51f..cb0eccfc85a64dabe7cf82a1479156f72328d4aa 100644 (file)
@@ -108,11 +108,17 @@ in brackets):
       cd ../python
       ln -s ../packages/django/django ./django
 
-    The settings.py file contains default settings for patchwork, you'll
-    need to configure settings for your own setup.
+    The patchwork/settings/*.py files contain default settings for patchwork,
+    you'll need to configure settings for your own setup.
 
-    Rather than edit settings.py, create a file 'local_settings.py', and
-    override or add settings as necessary. You'll need to define the
+    Rather than editing these files (which will cause conflicts when you
+    update the base patchwork code), create a file 'production.py', based on
+    the example:
+
+       cp patchwork/settings/production.example.py \
+          patchwork/settings/production.py
+
+    and override or add settings as necessary. You'll need to define the
     following:
 
       SECRET_KEY
@@ -138,7 +144,11 @@ 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
+
+    and 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.