Commit 50dc4e80 by John Jarvis

adding askbot as a submodule of mitx

parent 5e8d132a
...@@ -71,6 +71,16 @@ clone_repos() { ...@@ -71,6 +71,16 @@ clone_repos() {
fi fi
git clone git@github.com:MITx/mitx.git git clone git@github.com:MITx/mitx.git
fi 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" cd "$BASE"
# By default, dev environments start with a copy of 6.002x # By default, dev environments start with a copy of 6.002x
...@@ -276,6 +286,10 @@ pip install -r mitx/pre-requirements.txt ...@@ -276,6 +286,10 @@ pip install -r mitx/pre-requirements.txt
output "Installing MITx requirements" output "Installing MITx requirements"
cd mitx cd mitx
pip install -r requirements.txt 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/log" || true
mkdir "$BASE/db" || true mkdir "$BASE/db" || true
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment