mirror of
https://github.com/ChristianLight/tutor.git
synced 2024-06-03 14:50:47 +00:00
Add import-demo-course make command
This commit is contained in:
parent
52c8301f96
commit
61abe7691b
7
Makefile
7
Makefile
|
@ -10,3 +10,10 @@ lms-shell:
|
||||||
docker-compose run lms ./manage.py lms shell --settings=production
|
docker-compose run lms ./manage.py lms shell --settings=production
|
||||||
cms-shell:
|
cms-shell:
|
||||||
docker-compose run lms ./manage.py cms shell --settings=production
|
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
|
||||||
|
|
|
@ -8,7 +8,7 @@ The production stack is sufficient for a minimal production deployment of Open e
|
||||||
|
|
||||||
Prepare build:
|
Prepare build:
|
||||||
|
|
||||||
make directories
|
make directories
|
||||||
|
|
||||||
Build and run:
|
Build and run:
|
||||||
|
|
||||||
|
@ -26,6 +26,10 @@ On the first run you will need to migrate the database and collect static assets
|
||||||
make migrate
|
make migrate
|
||||||
make assets
|
make assets
|
||||||
|
|
||||||
|
To import the Open edX demo course, run:
|
||||||
|
|
||||||
|
make import-demo-course
|
||||||
|
|
||||||
To daemonize:
|
To daemonize:
|
||||||
|
|
||||||
docker-compose up -d
|
docker-compose up -d
|
||||||
|
|
Loading…
Reference in New Issue
Block a user