Skip to content

Latest commit

 

History

History
51 lines (37 loc) · 1.26 KB

README.md

File metadata and controls

51 lines (37 loc) · 1.26 KB

django-gunicorn-nginx

Fabric deploy scripts to install django, gunicorn and nginx on a bare metal Linux box

Windows

nginx won't run on windows, however the fabric script can be launched from a windows machine. If you're trying to run this on windows, you need to:

Reference: https://techknowhow.library.emory.edu/blogs/sturnbu/2011/01/26/installing-fabric-windows

Linux

  1. Install dependencies

    sudo apt-get install python-virtualenv python2.7-dev build-essential

  2. Set up virtualenv

    mkdir -p /tmp/fabric && cd /tmp/fabric virtualenv . . bin/activate pip install fabric cuisine fabtools

  3. Install fabfile to /tmp/fabric

  4. Run

    . bin/activate fab help