Skip to content

Instantly share code, notes, and snippets.

@jmoz
Created November 26, 2012 18:59
Show Gist options
  • Save jmoz/4149934 to your computer and use it in GitHub Desktop.
Save jmoz/4149934 to your computer and use it in GitHub Desktop.
Bash install script for jmoz.co.uk
#!/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