Django-hosting » History » Version 2
Nico Schottelius, 04/08/2016 10:45 AM
| 1 | 1 | Nico Schottelius | h1. django-hosting.ch by ungleich |
|---|---|---|---|
| 2 | |||
| 3 | h2. How to use |
||
| 4 | |||
| 5 | 2 | Nico Schottelius | |
| 6 | * Deploy / update your app into the folder *~app/app* (that is the app folder in the home of the user app) |
||
| 7 | ** We recommended to use git to deploy it |
||
| 8 | 1 | Nico Schottelius | * Use the database "app" (running on localhost, no password required) |
| 9 | 2 | Nico Schottelius | ** Don't forget to run your migrations! |
| 10 | * Restart uwsgi to load the new code of your app |
||
| 11 | |||
| 12 | h3. Restatring the app |
||
| 13 | |||
| 14 | * *sudo systemctl restart uwsgi* |
||
| 15 | |||
| 16 | |||
| 17 | h3. Viewing logfiles |
||
| 18 | |||
| 19 | * Use *sudo tail -F /v |
||
| 20 | 1 | Nico Schottelius | |
| 21 | |||
| 22 | h2. Description of the stack |
||
| 23 | |||
| 24 | h3. Technologies |
||
| 25 | |||
| 26 | * Debian 8 |
||
| 27 | * nginx |
||
| 28 | * PostgreSQL |
||
| 29 | * uwsgi |