Last active
December 22, 2015 13:39
-
-
Save stupidbodo/6480573 to your computer and use it in GitHub Desktop.
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 | |
# Install VirtualEnv and VirtualEnvWrapper Centos 6 # | |
################# | |
pip install virtualenv | |
pip install virtualenvwrapper | |
# Replace suitable environment directory with $HOME/Envs | |
export WORKON_HOME=$HOME/Envs | |
# if root use /usr/bin/virtualenvwrapper.sh | |
source /usr/local/bin/virtualenvwrapper.sh | |
# mkvirtualenv - make virtual environment | |
# rmvirtualenv - remove virtual environment | |
# workon - switch to virtual environment | |
# deactivate - get out of virtual environment |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment