ondrejsika.com

deploy documentation

Easy deploy Python WSGI apps

Authors

Ondrej Sika ondrejsika.com dev@ondrejsika.com

Source

Documentation ondrejsika.com/docs/deploy
GitHub github.com/sikaondrej/deploy

Depencies

Need installed before install deploy
nginx
gunicorn
supervisor
git
sudo

Installation

as root
pip install deploy
deploy-init

Create server

deploy-startserver appname "domain.com www.domain.com"

Update via GIT

in production is branch master
git clone git@server:appname.git
cd appname
# ... some changes and commits ...
git push origin master