Skip to content

Latest commit

 

History

History
45 lines (30 loc) · 1.14 KB

deploy.rst

File metadata and controls

45 lines (30 loc) · 1.14 KB

Deployment

Salt states

The live deployment for https://coffeestats.org/ is done using Salt states. The setup is similar to the setup described in salt/roots/salt/coffeestats.

Manual deployment

You have to setup a WSGI capable web server. We recommend to use uwsgi and nginx. You should use virtualenv to isolate the application code and its dependencies from the rest of your system.

Requirements

The following preconditions have to be fulfilled for a manual deployment:

Database setup

We use Django's ORM and you can simply setup your database using:

python manage.py syncdb --migrate