7
0
mirror of https://github.com/ChristianLight/tutor.git synced 2024-05-29 20:30:48 +00:00

Add convenient make debug command

This command will certainly be used for github issue templating.
This commit is contained in:
Régis Behmo 2018-06-18 14:20:08 +02:00
parent 436ad015cf
commit 61bcc2aa29

View File

@ -55,6 +55,18 @@ stop:
##################### Extra
debug:
uname -a
@echo "-------------------------"
docker version
@echo "-------------------------"
docker-compose --version
@echo "-------------------------"
python --version
@echo "-------------------------"
echo $$EDX_PLATFORM_PATH
echo $$EDX_PLATFORM_SETTINGS
import-demo-course:
$(DOCKER_COMPOSE_RUN_OPENEDX) cms /bin/bash -c "git clone https://github.com/edx/edx-demo-course ../edx-demo-course && git -C ../edx-demo-course checkout open-release/ginkgo.master && python ./manage.py cms import ../data ../edx-demo-course"