Automated DSMLP course creation and modification tool
# make sure you're in the repo
cd create-dsmlp-course-sync
# create the container
docker build --no-cache --pull -t create-course-sync .
# make sure the mongo instance is up
# mount the appropriate volumes and enter the container
docker run \
-v $(pwd):/opt/create-dsmlp-course-sync \
-v $(pwd)/tests/kubespawner_profiles:/export/kubespawner_profiles \
-v $(pwd)/settings.yaml:/etc/create-dsmlp-course-sync/settings.yaml \
-v $(pwd)/tests/home:/export/home \
-v $(pwd)/tests/nbgrader:/export/nbgrader \
--link mongo:27017 \
-ti create-course-sync /bin/bash
Autobuilds are configured on dockerhub as ucsdets/create-course-sync
Set logToFile: true if you want the log file as one of the outputs of this program (rather than just stdout)
docker pull ucsdets/create-dsmlp-course-sync:latest