Project

General

Profile

Actions

Django-hosting » History » Revision 2

« Previous | Revision 2/30 (diff) | Next »
Nico Schottelius, 04/08/2016 10:45 AM


django-hosting.ch by ungleich

How to use

  • Deploy / update your app into the folder ~app/app (that is the app folder in the home of the user 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

Restatring the app

  • sudo systemctl restart uwsgi

Viewing logfiles

  • Use *sudo tail -F /v

Description of the stack

Technologies

  • Debian 8
  • nginx
  • PostgreSQL
  • uwsgi

Updated by Nico Schottelius over 8 years ago · 2 revisions