Django project management commands » History » Version 1
Alex V Koval, 08/14/2013 12:25 PM
1 | 1 | Alex V Koval | h1. Django project management commands |
---|---|---|---|
2 | |||
3 | |||
4 | # Get the code. |
||
5 | |||
6 | <pre>hg clone ssh://repos-location to-dir</pre> |
||
7 | # Install environment |
||
8 | <pre>fab env_install</pre> |
||
9 | # Install dependencies |
||
10 | <pre>fab depup</pre> |
||
11 | # Get database |
||
12 | <pre>fab get_db</pre> |
||
13 | # Upload database |
||
14 | <pre>fab reinst_db</pre> |
||
15 | |||
16 | h2. Optional steps |
||
17 | |||
18 | # Some projects may require downloading project data: |
||
19 | <pre>fab rsync_data</pre> |
||
20 | # 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. |