- 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:
+ Set up some initial directories in the patchwork base directory:
+
+ mkdir -p lib/packages lib/python
+
+ lib/packages is for stuff we'll download, lib/python is to add
+ to our python path. We'll symlink python modules into lib/python.
+
+ At the time of release, patchwork depends on django version 1.0 or
+ later. Your distro probably provides this. If not, do a:
+
+ cd lib/packages
+ svn checkout http://code.djangoproject.com/svn/django/tags/releases/1.2
+ cd ../python
+ ln -s ../packages/django/django ./django
+
+ We also use the django-registration infrastructure from
+ http://bitbucket.org/ubernostrum/django-registration/. Your distro
+ may provide the django-registration python module (in Ubuntu/Debian it's
+ called 'python-django-registration'). If not, download the module
+ and symlink it to lib/python/ :
+
+ cd lib/packages/
+ hg clone http://bitbucket.org/ubernostrum/django-registration/
+ cd ../python
+ ln -s ../packages/django-registration/registration ./registration
+
+ We also use some Javascript libraries:
+
+ cd lib/packages
+ mkdir jquery
+ cd jquery
+ wget http://jqueryjs.googlecode.com/files/jquery-1.3.min.js
+ wget http://www.isocra.com/articles/jquery.tablednd_0_5.js.zip
+ unzip jquery.tablednd_0_5.js.zip jquery.tablednd_0_5.js
+ cd ../../../htdocs/js/
+ ln -s ../../lib/packages/jquery/jquery-1.3.min.js ./
+ ln -s ../../lib/packages/jquery/jquery.tablednd_0_5.js ./
+
+ The settings.py file contains default settings for patchwork, you'll
+ need to configure settings for your own setup.