Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Dead simple uWSGI + nginx + supervisord + tox deployment based on fabric.

branch: master

This branch is 0 commits ahead and 0 commits behind master

Fetching latest commit…

Cannot retrieve the latest commit at this time

README.rst

./deploy.py

Deploys tox-generated virtualenvs using uWSGI, nginx and supervisord within seconds. Based on fabric.

System Setup

Follow the instructions in etc/*.

Setup & Initial Deploy

In your project directory, do

cp /path/to/deploy/fabfile.py .
ln -s /path/to/deploy/deploy.py

vim fabfile.py
./deploy.py

On the remote host, do

sudo supervisorctl reread
sudo supervisorctl update
sudo /etc/(rc.d|init.d|...)/nginx reload

Subsequent Deploys

./deploy.py
Something went wrong with that request. Please try again.