Skip to content

Instantly share code, notes, and snippets.

@uolter
Created September 22, 2014 13:37
Show Gist options
  • Save uolter/5f82d423c941020ae3c8 to your computer and use it in GitHub Desktop.
Save uolter/5f82d423c941020ae3c8 to your computer and use it in GitHub Desktop.
venv_and_pip_centos.sh
curl https://raw.githubusercontent.com/pypa/pip/master/contrib/get-pip.py > get-pip.py;
python get-pip.py;
rm -f get-pip.py;
# change directory here. Go in your project home dir.
# cd /opt/uuid_resolver/;
pip install virtualenv;
virtualenv venv;
# activate the virtualenv
source venv/bin/activate
# change here your requirements.txt location
./venv/bin/pip install -r requirements.txt;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment