Created
May 28, 2014 22:52
-
-
Save pablocarrillo/8b465715492a1ec97637 to your computer and use it in GitHub Desktop.
Bash command to get correct path for autoenv
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 | |
#You can run this gist inside the folder that holds the venv folder or paste the following in a Terminal | |
#This file assume your virtual environment is under the folder venv | |
DIRECTORY=$(pwd) ; echo source $DIRECTORY/venv/bin/activate > .env |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment