Merge pull request #592 from edx/slater/dev_env_fixup
Small fixup to final print statement in Create Dev Env script
This commit is contained in:
@@ -387,12 +387,12 @@ export WORKON_HOME=$PYTHON_DIR
|
||||
if [[ `type -t mkvirtualenv` != "function" ]]; then
|
||||
case `uname -s` in
|
||||
Darwin)
|
||||
source `which virtualenvwrapper.sh`
|
||||
VEWRAPPER=`which virtualenvwrapper.sh`
|
||||
;;
|
||||
|
||||
[Ll]inux)
|
||||
if [[ -f "/etc/bash_completion.d/virtualenvwrapper" ]]; then
|
||||
source /etc/bash_completion.d/virtualenvwrapper
|
||||
VEWRAPPER=/etc/bash_completion.d/virtualenvwrapper
|
||||
else
|
||||
error "Could not find virtualenvwrapper"
|
||||
exit 1
|
||||
@@ -401,6 +401,7 @@ if [[ `type -t mkvirtualenv` != "function" ]]; then
|
||||
esac
|
||||
fi
|
||||
|
||||
source $VEWRAPPER
|
||||
# Create edX virtualenv and link it to repo
|
||||
# virtualenvwrapper automatically sources the activation script
|
||||
if [[ $systempkgs ]]; then
|
||||
@@ -514,11 +515,11 @@ if [[ ! $quiet ]]; then
|
||||
environment. Ensure the following lines are added to your
|
||||
login script, and source your login script if needed:
|
||||
|
||||
source `which virtualenvwrapper.sh`
|
||||
source $VEWRAPPER
|
||||
|
||||
Then, every time you're ready to work on the project, just run
|
||||
|
||||
$ workon mitx
|
||||
$ workon edx-platform
|
||||
|
||||
To start the Django on port 8000
|
||||
|
||||
|
||||
Reference in New Issue
Block a user