Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/jonashaag/deploy.py

[DISCONTINUED] Dead simple uWSGI + nginx + supervisord + tox deployment based on fabric.
https://github.com/jonashaag/deploy.py

Last synced: 24 days ago
JSON representation

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

Awesome Lists containing this project

README

        

./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
fab deploy

On the remote host, do ::

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

Subsequent Deploys
------------------
::

fab deploy

.. _tox: http://tox.readthedocs.org
.. _uWSGI: http://projects.unbit.it/uwsgi/
.. _nginx: http://wiki.nginx.org
.. _supervisord: http://supervisord.org
.. _fabric: http://fabfile.org