mirror of
https://github.com/ChristianLight/tutor.git
synced 2024-11-05 12:57:52 +00:00
20 lines
845 B
Makefile
20 lines
845 B
Makefile
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
|
|
|
|
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
|