Aliases for virtualenvwrapper All aliases are loaded from main virtualenvwrapper postactivate.sh script.
- Requirements
- python-virtualenv
- virtualenvwrapper
- When the virtualenwrapper is already installed you should has exported
WORKON_HOME
env variable.- Check variable
echo $WORKON_HOME
- Check variable
- Init and fetch this repo to the
$WORKON_HOME
dir. (You can't clone them)cd $WORKON_HOME git remote add origin git@github.com:maledorak/venv-aliases.git git fetch origin git checkout -b master --track origin/master
- Add
.env.default
file with envs to your project (you should commit it). This envs will be used in aliases.DJANGO_SETTINGS_MODULE=path.to.settings
- Add
.env
file with envs to your project (you should add it to .gitignore).DJANGO_SETTINGS_MODULE=path.to.local_settings
.env
override.env.default
variables.