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
c6ca8ab6
Commit
c6ca8ab6
authored
Jul 18, 2012
by
Victor Shnayder
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update dev script repos
* remove hg data repo * pull the 6.002x repo
parent
2eaa6dbc
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
10 deletions
+11
-10
create-dev-env.sh
+11
-10
No files found.
create-dev-env.sh
View file @
c6ca8ab6
...
@@ -82,19 +82,20 @@ clone_repos() {
...
@@ -82,19 +82,20 @@ clone_repos() {
fi
fi
git clone git@github.com:MITx/askbot-devel
>>
$LOG
git clone git@github.com:MITx/askbot-devel
>>
$LOG
fi
fi
# By default, dev environments start with a copy of 6.002x
cd
"
$BASE
"
cd
"
$BASE
"
if
[[
-d
"
$BASE
/data/.hg"
]]
;
then
REPO
=
"content-mit-6002x"
output
"Pulling data"
if
[[
-d
"
$BASE
/data/
$REPO
/.git"
]]
;
then
cd
"
$BASE
/data
"
output
"Pulling
$REPO
"
hg pull
>>
$LOG
cd
"
$BASE
/data/
$REPO
"
hg update
>>
$LOG
git pull
>>
$LOG
else
else
output
"Cloning
data
"
output
"Cloning
$REPO
"
if
[[
-d
"
$BASE
/data"
]]
;
then
if
[[
-d
"
$BASE
/data
/
$REPO
"
]]
;
then
mv
"
$BASE
/data
"
"
${
BASE
}
/data
.bak.
$$
"
mv
"
$BASE
/data
/
$REPO
"
"
${
BASE
}
/data/
$REPO
.bak.
$$
"
fi
fi
hg clone ssh://hg-content@gp.mitx.mit.edu/data
>>
$LOG
git clone git@github.com:MITx/
$REPO
>>
$LOG
fi
fi
}
}
...
...
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