6
0
mirror of https://github.com/ChristianLight/tutor.git synced 2024-11-05 12:57:52 +00:00
tutor/Makefile

20 lines
845 B
Makefile
Raw Normal View History

directories:
mkdir -p ./data/edxapp/logs ./data/edxapp/uploads ./data/edxapp/staticfiles
migrate:
docker-compose run lms ./manage.py lms migrate --settings=production
docker-compose run cms ./manage.py cms migrate --settings=production
assets:
docker-compose run lms paver update_assets lms --settings=production
docker-compose run cms paver update_assets cms --settings=production
lms-shell:
docker-compose run lms ./manage.py lms shell --settings=production
cms-shell:
docker-compose run lms ./manage.py cms shell --settings=production
2017-09-19 08:54:45 +00:00
import-demo-course:
docker-compose run cms git clone https://github.com/edx/edx-demo-course ../edx-demo-course && \
cd ../edx-demo-course && \
git checkout open-release/ginkgo.master && \
cd ../edx-platform && \
python ./manage.py cms --settings=production import ../data ../edx-demo-course