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
433043b1
Commit
433043b1
authored
May 31, 2013
by
Slater-Victoroff
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Removed starting courseware clone
parent
49ed93a4
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
17 additions
and
17 deletions
+17
-17
scripts/create-dev-env.sh
+17
-17
No files found.
scripts/create-dev-env.sh
View file @
433043b1
...
@@ -99,23 +99,23 @@ clone_repos() {
...
@@ -99,23 +99,23 @@ clone_repos() {
# Not certain if these are making it in to the open source release.
# 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.
# If there's a github permissions error, remove this section of code.
# You should get a working environment sans a demo course.
# You should get a working environment sans a demo course.
cd
"
$BASE
"
#
cd "$BASE"
mkdir
-p
"
$BASE
/data"
#
mkdir -p "$BASE/data"
REPO
=
"content-mit-6002x"
#
REPO="content-mit-6002x"
if
[[
-d
"
$BASE
/data/
$REPO
/.git"
]]
;
then
#
if [[ -d "$BASE/data/$REPO/.git" ]]; then
output
"Pulling
$REPO
"
#
output "Pulling $REPO"
cd
"
$BASE
/data/
$REPO
"
#
cd "$BASE/data/$REPO"
git pull
#
git pull
else
#
else
output
"Cloning
$REPO
"
#
output "Cloning $REPO"
if
[[
-d
"
$BASE
/data/
$REPO
"
]]
;
then
#
if [[ -d "$BASE/data/$REPO" ]]; then
output
"Creating backup for existing demo course"
#
output "Creating backup for existing demo course"
mv
"
$BASE
/data/
$REPO
"
"
${
BASE
}
/data/
$REPO
.bak.
$$
"
#
mv "$BASE/data/$REPO" "${BASE}/data/$REPO.bak.$$"
fi
#
fi
cd
"
$BASE
/data"
#
cd "$BASE/data"
git clone https://github.com/MITx/content-mit-6002x.git
#
git clone https://github.com/MITx/content-mit-6002x.git
fi
#
fi
}
#
}
### START
### START
...
...
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