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
9e140dcc
Commit
9e140dcc
authored
May 31, 2013
by
Slater-Victoroff
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
pull request notes attended to
parent
0b0b3602
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
29 deletions
+8
-29
scripts/create-dev-env.sh
+8
-29
No files found.
scripts/create-dev-env.sh
View file @
9e140dcc
...
@@ -94,27 +94,6 @@ clone_repos() {
...
@@ -94,27 +94,6 @@ clone_repos() {
fi
fi
git clone https://github.com/edx/edx-platform.git
git clone https://github.com/edx/edx-platform.git
fi
fi
# By default, dev environments start with a copy of 6.002x
# Not certain if these are making it in to the open source release.
# If there's a github permissions error, remove this section of code.
# You should get a working environment sans a demo course.
# cd "$BASE"
# mkdir -p "$BASE/data"
# REPO="content-mit-6002x"
# if [[ -d "$BASE/data/$REPO/.git" ]]; then
# output "Pulling $REPO"
# cd "$BASE/data/$REPO"
# git pull
# else
# output "Cloning $REPO"
# if [[ -d "$BASE/data/$REPO" ]]; then
# output "Creating backup for existing demo course"
# mv "$BASE/data/$REPO" "${BASE}/data/$REPO.bak.$$"
# fi
# cd "$BASE/data"
# git clone https://github.com/MITx/content-mit-6002x.git
# fi
}
}
...
@@ -381,7 +360,7 @@ fi
...
@@ -381,7 +360,7 @@ fi
LESS
=
"-E"
rvm install
$RUBY_VER
--with-readline
LESS
=
"-E"
rvm install
$RUBY_VER
--with-readline
# Create the "edx" gemset
# Create the "edx" gemset
rvm use
"
$RUBY_VER
"
--create
rvm use
"
$RUBY_VER
@edx-platform
"
--create
rvm rubygems latest
rvm rubygems latest
output
"Installing gem bundler"
output
"Installing gem bundler"
...
@@ -444,18 +423,18 @@ SCIPY_VER="0.10.1"
...
@@ -444,18 +423,18 @@ SCIPY_VER="0.10.1"
if
[[
-n
$compile
]]
;
then
if
[[
-n
$compile
]]
;
then
output
"Downloading numpy and scipy"
output
"Downloading numpy and scipy"
curl
-sL
-o
numpy.tar.gz http://downloads.sourceforge.net/project/numpy/NumPy/
${
NUMPY_VER
}
/numpy-
${
NUMPY_VER
}
.tar.gz
curl
-sL
-o
numpy.tar.gz http://downloads.sourceforge.net/project/numpy/NumPy/
${
NUMPY_VER
}
/numpy-
${
NUMPY_VER
}
.tar.gz
#
curl -sL -o scipy.tar.gz http://downloads.sourceforge.net/project/scipy/scipy/${SCIPY_VER}/scipy-${SCIPY_VER}.tar.gz
curl
-sL
-o
scipy.tar.gz http://downloads.sourceforge.net/project/scipy/scipy/
${
SCIPY_VER
}
/scipy-
${
SCIPY_VER
}
.tar.gz
tar
xf numpy.tar.gz
tar
xf numpy.tar.gz
#
tar xf scipy.tar.gz
tar
xf scipy.tar.gz
rm
-f
numpy.tar.gz
#
scipy.tar.gz
rm
-f
numpy.tar.gz scipy.tar.gz
output
"Compiling numpy"
output
"Compiling numpy"
cd
"
$BASE
/numpy-
${
NUMPY_VER
}
"
cd
"
$BASE
/numpy-
${
NUMPY_VER
}
"
python setup.py install
python setup.py install
#
output "Compiling scipy"
output
"Compiling scipy"
#
cd "$BASE/scipy-${SCIPY_VER}"
cd
"
$BASE
/scipy-
${
SCIPY_VER
}
"
#
python setup.py install
python setup.py install
cd
"
$BASE
"
cd
"
$BASE
"
rm
-rf
numpy-
${
NUMPY_VER
}
#
scipy-${SCIPY_VER}
rm
-rf
numpy-
${
NUMPY_VER
}
scipy-
${
SCIPY_VER
}
fi
fi
# building correct version of distribute from source
# building correct version of distribute from source
...
...
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