Git Product home page Git Product logo

course-templates's Introduction

A course template for A-plus learning environment

  1. Download the template files.

  2. Install Docker for Mac/Windows or docker-ce & docker-compose for Linux.

  3. ./docker-up.sh to run A-plus system at http://localhost:8000

    • Available users are root:root and student:student.
    • The default course is created from the material.
  4. Insert the course material in a new git repository for the course. Keep editing and test real time in browser.

  5. You should download new containers with docker-compose pull at least yearly.

Note! Docker downloads new container images when required. In this test system, the first exercise assessment using new container image will produce a one time error as the container order times out while downloading. However, the error will disappear if you reload the submission page once the actual assessment has completed.

For persistent A+ database and other storage, uncomment volume entries like ./_data:... in the docker-commpose.yml.

Developing new assessment environments as containers

The exercise config can name any container in https://hub.docker.com/. We have published few containers that support assessment for different environments at https://hub.docker.com/u/apluslms/. Use the sample exercises in the course template for reference to run assessment programs inside the containers.

The assessment container MUST register feedback by HTTP POST request to URI $REC/container-post where $REC is an environment variable. The required request fields are points, max_points, and feedback (HTML data). The provided base container, https://github.com/A-plus-LMS/grading-base/tree/debian-stretch, has convenience commands to capture feedback output from any programs and register the result at end. Either build your custom container on hierarchy from our base container or implement the HTTP POST interface yourself. Different Dockerfiles and included scripts are a good reference.

course-templates's People

Contributors

mquinson avatar raphendyr avatar teemulehtinen avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.