Django project management commands

  1. Get the code.

    hg clone ssh://repos-location to-dir

Copy and edit settings from example-settings.py in your project on this step.

Install environment

fab env_install
  1. Install dependencies

    fab depup

  2. Get database

    fab get_db

  3. Upload database

    fab reinst_db

Optional steps

  1. Some projects may require downloading project data:

    fab rsync_data

  2. Sometimes some additional modules needs to be installed. This is usually done via fab, please refer to appropriate command there. For example if you get error like “Error: No module named haystack” and there are fab procedure: “fab install_haystack” so you should run it.