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 14, 2009, 8:54:42 PM (14 years ago)
- Author:
-
hank
- Comment:
-
more work on silverfile setup
Legend:
- Unmodified
- Added
- Removed
- Modified
-
v33
|
v34
|
|
136 | 136 | }}} |
137 | 137 | |
| 138 | Create a unique secret key for production/settings.py: |
| 139 | cd /usr/wwwapps/sf-app/files/ |
| 140 | {{{ |
| 141 | python manage.py shell |
| 142 | (InteractiveConsole) |
| 143 | >>> import utils.django |
| 144 | >>> utils.django.new_secret_key() |
| 145 | }}} |
| 146 | |
| 147 | Copy secret key into settings.py |
| 148 | |
138 | 149 | === Configure SSL === |
139 | 150 | {{{ |
… |
… |
|
152 | 163 | See sf-apps/files/examples |
153 | 164 | {{{ |
154 | | > sudo ln -s /usr/wwwapps/silverfile/examples/production/apache/files.conf /etc/apache2/sites-available/silverfile |
| 165 | > sudo ln -s /usr/wwwapps/sf-app/production/apache/files.conf /etc/apache2/sites-available/silverfile |
155 | 166 | > mkdir /usr/wwwapps/logs/ |
156 | 167 | > touch /usr/wwwapps/logs/silverfile.access |