Skip to content

Instantly share code, notes, and snippets.

@boardstretcher
Created September 30, 2013 18:57
Show Gist options
  • Save boardstretcher/6768385 to your computer and use it in GitHub Desktop.
Save boardstretcher/6768385 to your computer and use it in GitHub Desktop.
RHEL compatible python dev environment setup. pip, virtualenv, and flask.
#!/bin/bash
yum install -y python2 python-pip
pip install virtualenv
mkdir projects
cd projects
virtualenv some_project
cd some_project
source bin/activate
pip install flask
#now you are in a virtual environment that has flask installed
#to deactivate the environment, type 'deactivate'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment