HUB
Sign inSign up

ucsdets/create-dsmlp-course-sync

By ucsdets

•Updated over 6 years ago

Image
0

100K+

ucsdets/create-dsmlp-course-sync repository overview

⁠create-dsmlp-course

Automated DSMLP course creation and modification tool

⁠Installation

# 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

⁠Configuration
⁠settings.yaml

Set logToFile: true if you want the log file as one of the outputs of this program (rather than just stdout)

⁠Control flow

  1. Prune list from awsed
  2. Compare to what's in database
  3. If it's different move on, else stop
  4. Compare to what's already in the directory
  5. If directory has NOT automanaged flag, ignore
  6. Update it
Tag summary
Recent tags
Content type
Image
Digest
Size
301.3 MB
Last updated
over 6 years ago
docker pull ucsdets/create-dsmlp-course-sync:latest