Skip to content

Deploying to production

OscarPDR edited this page Oct 31, 2014 · 2 revisions

Either if you feel confident enough, or you are happy with the local deploy, you may be wondering how labman_ud can be deployed to a real server.

There are tons of excellent websites describing how to deploy a django project on a real world production environment (even in the official documentation). Particularly, we follow Michał Karzyński's approach using the following technological stack:

  • gunicorn: a python WSGI HTTP server for UNIX systems, which serves labman_ud in production.
  • nginx: a free, open-source, high-performance HTTP server and reverse proxy, to serve static files.
  • supervisord: a client/server system to monitor and control processes on UNIX-like operating systems, allowing us to deploy new versions with a couple of commands.
  • virtualenv/virtualenvwrapper: to create isolated python environments
  • PostgreSQL: a powerful open-source database system.

However, we got news of successfull deploys on IIS servers and using other database management systems such as MySQL and SQLite.

Clone this wiki locally