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
eb4272e3
Commit
eb4272e3
authored
Jun 08, 2012
by
John Jarvis
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
converted tabs to spaces, updated LESS cmdline override
parent
a8940fc7
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
38 additions
and
40 deletions
+38
-40
create-dev-env.sh
+38
-40
No files found.
create-dev-env.sh
View file @
eb4272e3
...
...
@@ -49,45 +49,45 @@ EO
clone_repos
()
{
cd
"
$BASE
"
if
[[
-d
"
$BASE
/mitx/.git"
]]
;
then
output
"Pulling mitx"
cd
"
$BASE
/mitx"
git pull
>>
$LOG
else
output
"Cloning mitx"
if
[[
-d
"
$BASE
/mitx"
]]
;
then
mv
"
$BASE
/mitx"
"
${
BASE
}
/mitx.bak.
$$
"
fi
git clone git@github.com:MITx/mitx.git
>>
$LOG
fi
cd
"
$BASE
"
if
[[
-d
"
$BASE
/askbot-devel/.git"
]]
;
then
output
"Pulling askbot-devel"
cd
"
$BASE
/askbot-devel"
git pull
>>
$LOG
else
output
"Cloning askbot-devel"
if
[[
-d
"
$BASE
/askbot-devel"
]]
;
then
mv
"
$BASE
/askbot-devel"
"
${
BASE
}
/askbot-devel.bak.
$$
"
fi
git clone git@github.com:MITx/askbot-devel
>>
$LOG
fi
cd
"
$BASE
"
output
"Pulling mitx"
cd
"
$BASE
/mitx"
git pull
>>
$LOG
else
output
"Cloning mitx"
if
[[
-d
"
$BASE
/mitx"
]]
;
then
mv
"
$BASE
/mitx"
"
${
BASE
}
/mitx.bak.
$$
"
fi
git clone git@github.com:MITx/mitx.git
>>
$LOG
fi
cd
"
$BASE
"
if
[[
-d
"
$BASE
/askbot-devel/.git"
]]
;
then
output
"Pulling askbot-devel"
cd
"
$BASE
/askbot-devel"
git pull
>>
$LOG
else
output
"Cloning askbot-devel"
if
[[
-d
"
$BASE
/askbot-devel"
]]
;
then
mv
"
$BASE
/askbot-devel"
"
${
BASE
}
/askbot-devel.bak.
$$
"
fi
git clone git@github.com:MITx/askbot-devel
>>
$LOG
fi
cd
"
$BASE
"
if
[[
-d
"
$BASE
/data/.hg"
]]
;
then
output
"Pulling data"
cd
"
$BASE
/data"
hg pull
>>
$LOG
hg update
>>
$LOG
else
output
"Cloning data"
if
[[
-d
"
$BASE
/data"
]]
;
then
mv
"
$BASE
/data"
"
${
BASE
}
/data.bak.
$$
"
fi
hg clone ssh://hg-content@gp.mitx.mit.edu/data
>>
$LOG
fi
output
"Pulling data"
cd
"
$BASE
/data"
hg pull
>>
$LOG
hg update
>>
$LOG
else
output
"Cloning data"
if
[[
-d
"
$BASE
/data"
]]
;
then
mv
"
$BASE
/data"
"
${
BASE
}
/data.bak.
$$
"
fi
hg clone ssh://hg-content@gp.mitx.mit.edu/data
>>
$LOG
fi
}
PROG
=
${
0
##*/
}
...
...
@@ -237,9 +237,7 @@ output "Installing rvm and ruby"
curl
-sL
get.rvm.io | bash
-s
stable
source
$RUBY_DIR
/scripts/rvm
# skip the intro
export
LESS
=
"-E"
rvm install
$RUBY_VER
unset
LESS
LESS
=
"-E"
rvm install
$RUBY_VER
virtualenv
"
$PYTHON_DIR
"
source
$PYTHON_DIR
/bin/activate
output
"Installing gem bundler"
...
...
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