Skip to content
This repository was archived by the owner on Oct 21, 2018. It is now read-only.

Installation and upgrades

bufke edited this page Oct 3, 2012 · 5 revisions

Installation

You will need at least a working knowledge of how to deploy a django application and basic linux administration. This guide assumes you know how to set up a web server and database.

Quick

If you have a working knowledge of django apps and are running Ubuntu or Debian this should work Install.sh Be sure to actually read it. Some lines are commented out that would only be needed in production. You also need to set up databases.

Long Way

  1. git clone https://github.com/burke-software/django-sis.git
  2. Edit settings_local.py
  3. Create a database as you defined in settings
  4. pip install --upgrade -r install/dependencies.txt
  5. ./manage.py syncdb --migrate
  6. ./manage.py collectstatic
  7. If production - Set up celery
  8. Start your server. For testing ./manage.py runserver is fine. For production you could use apache or nginx.

Upgrades

django-sis doesn't have any stable point releases. The git trunk should be considered stable. That said always backup first.

git pull

./manage.py syncdb --migrate

./manage.py collectstatic

pip install --upgrade -r install/dependencies.txt

Clone this wiki locally