Created
September 30, 2013 18:57
-
-
Save boardstretcher/6768385 to your computer and use it in GitHub Desktop.
RHEL compatible python dev environment setup. pip, virtualenv, and flask.
This file contains hidden or 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 | |
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