Debian Installation
- Install the following packages:
- python-django
- python-markdown
- python-docutils
- python-vobject
- python-textile
- python-dateutil
- svn co http://svn.uwcs.co.uk/repos/reinhardt
- cp settings.py.default settings.py
- relies on django-rest-interface: http://code.google.com/p/django-rest-interface/
- svn checkout http://django-rest-interface.googlecode.com/svn/trunk/ django-rest-interface
- add this to your PYTHONPATH (for testing, something like PYTHONPATH=$PYTHONPATH:/path/to/django-rest-interface ./manage.py runserver)
- symlink jquery (>=1.3.1 tested), to be found at /static/js/jquery.js
- also needs pytz, pkg-resources, recaptcha-client, django-tinymce (install with setuptools)
DCS Installation
- svn co http://svn.uwcs.co.uk/repos/reinhardt
- mv reinhardt compsoc && cd compsoc
- sh contrib/dcs_download.sh
- mv settings.py.default settings.py (needs tweaking)
- /var/tmp/website/bin/python manage.py syncdb
- /var/tmp/website/bin/python manage.py runserver
- Download jquery to /static/js/jquery.js
Mailman
The website is designed so that you don't need to have mailman installed and configured if you are running in debug mode. If you do want to test mailman integration, the debian package is called "mailman", and it will make changes to mailman if you have it installed (even in debug mode). The "manage.py mailman_validate" and "manage.py mailman_import" functions are also useful for this scenario.
