Automated DSMLP course creation and modification tool
# make sure you're in the repo
cd create-dsmlp-course-cli
# create the container
docker build --pull --no-cache -t create-course-cli .
# mount the appropriate volumes and enter the container
docker run \
-v $(pwd):/opt/create-dsmlp-course-cli \
-v $(pwd)/tests/kubespawner_profiles:/export/kubespawner_profiles \
-v $(pwd)/tests/nbgrader:/export/nbgrader \
-ti create-course-cli /bin/bash
# run the unit tests once in the interactive container
export TESTMODE=true
python3 setup.py test
Autobuilds are configured on dockerhub as ucsdets/create-course
dcourse create # traditional flags here
dcourse list # list flags here
dcourse sync # stop the sync, force a sync
docker pull ucsdets/create-dsmlp-course-cli:latest