Skip to content
Dead simple uWSGI + nginx + supervisord + tox deployment based on fabric.
Pull request Compare This branch is 1 commit behind jonashaag:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
etc
templates
.gitignore
README.rst
deploy.py
fabfile.py

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.