HUB
Sign inSign up

ucsdets/create-dsmlp-course

By ucsdets

•Updated about 4 years ago

Image
0

10K+

ucsdets/create-dsmlp-course repository overview

⁠create-dsmlp-course

Contains business logic to automatic create and manage DSMLP courses

⁠Installation

# make sure you're in the repo
cd create-dsmlp-course

# create the container
docker build -t create-course .

# mount the appropriate volumes and enter the container
docker run \
    -v $(pwd):/opt/create-dsmlp-course \
    -v $(pwd)/etc:/etc/create-dsmlp-course \
    -v $(pwd)/tests/kubespawner_profiles:/export/kubespawner_profiles \
    -v $(pwd)/tests/nbgrader:/export/nbgrader \
    -v $(pwd)/tests/home:/export/home \
    -v $(pwd)/tests/datasets:/export/datasets \
    -ti create-course /bin/bash

# run the unit tests once in the interactive container
pytest

Autobuilds are configured on dockerhub as ucsdets/create-dsmlp-course

⁠Configuration
⁠settings.yaml

Set logToFile: true if you want the log file as one of the outputs of this program (rather than just stdout). logfile is located at /var/log/create-course.log

You can set the regex rules to make sure a course fits the course id code within course.regex

⁠default-courses.yaml

All default course switches are specified with a -d- switch prefix.

Specify how you want your default json courses to look like. Follow current example in this directory's /etc/

add describe class

Add duplicate option

Tag summary
Recent tags
Content type
Image
Digest
sha256:20242d0bd…
Size
445.3 MB
Last updated
about 4 years ago
docker pull ucsdets/create-dsmlp-course:latest