]> git.ozlabs.org Git - patchwork/commitdiff
Add more details to installation procedure
authorJeremy Kerr <jk@ozlabs.org>
Thu, 21 Aug 2008 09:18:22 +0000 (17:18 +0800)
committerJeremy Kerr <jk@ozlabs.org>
Thu, 21 Aug 2008 09:18:22 +0000 (17:18 +0800)
Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
docs/INSTALL

index da8dd54f71314d6489c4667e5eabfa632c2b651c..7d0df1234118e42687c6effbb32dae53f1778952 100644 (file)
@@ -42,15 +42,30 @@ in brackets):
 
 2. Django setup
 
+        At the time of initial release, patchwork depends on a svn version of
+        django. I've been using svn commit 7854 - but anything after this
+        point should be fine. If your distribution provides a sufficiently
+        recent version of django, you can use that; if not, do a:
+
+         cd lib/python
+         svn checkout http://code.djangoproject.com/svn/django/trunk .
+
        You'll need to customise apps/settings.py to suit your database, and
        change the SECRET_KEY variable too. While you're there, change the
        following to suit your installation:
 
+          SECRET_KEY
          ADMINS,
          TIME_ZONE
          LANGUAGE_CODE
          MEDIA_ROOT
 
+        You can generate the SECRET_KEY with the following python code:
+
+          import string, random
+          chars = string.letters + string.digits + string.punctuation
+          print repr("".join([random.choice(chars) for i in range(0,50)]))
+
        Then, get patchwork to create its tables in your configured database:
 
         cd apps/
@@ -102,7 +117,7 @@ fastcgi:
     You'll probably want to do the following:
 
       * Set up your projects
-
+      * Configure your website address (in the Sites) section of the admin
 
 5. Subscribe a local address to the mailing list