Created
July 10, 2015 23:02
-
-
Save meganlkm/f1bc67ba3546ddaecd38 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 | |
# | |
# installs node into a python virtualenv | |
# dependencies: pip, virtualenv, virtualenvwrapper | |
# | |
# install dependencies: | |
# sudo easy_install pip | |
# sudo pip install virtualenv virtualenvwrapper | |
# | |
# Usage: mknodeenv myproject | |
function mknodeenv() { | |
myprj=$@ | |
mkproject $myprj | |
source ${WORKON_HOME}/${myprj}/bin/activate | |
pip install nodeenv | |
nodeenv -p | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment