Skip to content
Snippets Groups Projects
Commit 50dc4e80 authored by John Jarvis's avatar John Jarvis
Browse files

adding askbot as a submodule of mitx

parent 5e8d132a
No related branches found
No related tags found
No related merge requests found
......@@ -71,6 +71,16 @@ clone_repos() {
fi
git clone git@github.com:MITx/mitx.git
fi
if [[ -d "$BASE/mitx/askbot/.git" ]]; then
output "Pulling askbot"
cd "$BASE/mitx/askbot"
git pull
else
output "Cloning askbot as a submodule of mitx"
cd "$BASE/mitx"
git submodule update --init
fi
cd "$BASE"
# By default, dev environments start with a copy of 6.002x
......@@ -276,6 +286,10 @@ pip install -r mitx/pre-requirements.txt
output "Installing MITx requirements"
cd mitx
pip install -r requirements.txt
output "Installing askbot requirements"
pip install -r askbot/askbot_requirements.txt
pip install -r askbot/askbot_requirements_dev.txt
mkdir "$BASE/log" || true
mkdir "$BASE/db" || true
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment