Created
November 26, 2012 18:59
-
-
Save jmoz/4149934 to your computer and use it in GitHub Desktop.
Bash install script for jmoz.co.uk
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
. /home/web/.pythonbrew/etc/bashrc | |
cd `dirname $0` | |
echo "* Pythonbrew use venv jmoz" | |
pythonbrew venv use jmoz | |
echo "* Pip install requirements" | |
pip install -r reqs | |
echo "* Supervisor restart gunicorn-jmoz" | |
supervisorctl restart gunicorn-jmoz |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment