Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
edx-platform
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
edx
edx-platform
Commits
ccc10f25
Commit
ccc10f25
authored
Aug 06, 2013
by
Slater-Victoroff
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Small fixup to final print statement in Create Dev Env script
Fixed Typo
parent
67d1e559
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
4 deletions
+5
-4
scripts/create-dev-env.sh
+5
-4
No files found.
scripts/create-dev-env.sh
View file @
ccc10f25
...
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment