Project

General

Profile

Actions

h1. Django project management commands

# 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
# Install dependencies
fab depup
# Get database
fab get_db
# Upload database
fab reinst_db

h2. Optional steps

# Some projects may require downloading project data:
fab rsync_data
# 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.

Updated by Alex V Koval about 10 years ago · 2 revisions

Also available in: PDF HTML TXT