Project

General

Profile

Django-hosting » History » Revision 2

Revision 1 (Nico Schottelius, 04/08/2016 10:24 AM) → Revision 2/28 (Nico Schottelius, 04/08/2016 10:45 AM)

h1. django-hosting.ch by ungleich 

 h2. How to use 


 

 * Deploy / update your app into the folder *~app/app* (that is the app folder in the home of the user app) ~app/app 
 ** We recommended to use git to deploy it 
 * Use the database "app" (running on localhost, no password required) 
 ** Don't forget to run your migrations!  
 * Restart uwsgi to load the new code of your app 

 h3. Restatring the app 

 * *sudo systemctl restart uwsgi* 


 h3. Viewing logfiles 

 * Use *sudo tail -F /v 


 h2. Description of the stack 

 h3. Technologies 

 * Debian 8 
 * nginx 
 * PostgreSQL 
 * uwsgi