close
Warning:
Can't synchronize with repository "(default)" (/usr/svn/silverfile does not appear to be a Subversion repository.). Look in the Trac log for more information.
- Timestamp:
-
Jul 16, 2009, 2:47:45 PM (14 years ago)
- Author:
-
hank
- Comment:
-
--
Legend:
- Unmodified
- Added
- Removed
- Modified
-
v38
|
v39
|
|
83 | 83 | }}} |
84 | 84 | |
| 85 | |
| 86 | |
| 87 | === Install Apache for Django === |
| 88 | [https://help.ubuntu.com/7.10/server/C/httpd.html#https-configuration Great Ubuntu Apache/SSL How-To] |
| 89 | {{{ |
| 90 | > sudo apt-get install apache2 libapache2-mod-python |
| 91 | > sudo ln -s /usr/sbin/apache2ctl /usr/sbin/apachectl (old habits die hard) |
| 92 | }}} |
| 93 | |
85 | 94 | === Install Django === |
86 | 95 | The platform for our app. |
87 | | |
88 | 96 | {{{ |
89 | 97 | > sudo apt-get install python-django |
90 | | }}} |
91 | | |
92 | | === Install Apache for Django === |
93 | | [https://help.ubuntu.com/7.10/server/C/httpd.html#https-configuration Great Ubuntu Apache/SSL How-To] |
94 | | {{{ |
95 | | > sudo apt-get install apache2 libapache2-mod-python |
96 | | > sudo ln -s /usr/sbin/apache2ctl apachectl (old habits die hard) |
97 | 98 | }}} |
98 | 99 | |
… |
… |
|
100 | 101 | Install MySQL with python db support mysqldb. |
101 | 102 | {{{ |
102 | | OLD: > sudo apt-get install mysql-server mysql-python |
103 | | CORRECTED: > sudo apt-get install mysql-server python-mysqldb |
| 103 | > sudo apt-get install mysql-server python-mysqldb |
104 | 104 | }}} |
105 | 105 | You will be asked to supply a mysql root password during installation. |
… |
… |
|
177 | 177 | '''Initialize App Database''' |
178 | 178 | {{{ |
179 | | python manage.py syncdb |
| 179 | cd files/ |
| 180 | python manage.py syncdb --pythonpath=.. --settings=production.settings |
180 | 181 | }}} |
181 | 182 | |