Coder Social home page Coder Social logo

zunde / course-templates Goto Github PK

View Code? Open in Web Editor NEW

This project forked from apluslms/aplus-manual

0.0 0.0 0.0 6.51 MB

Download course templates to start building of a new course

License: MIT License

Shell 9.98% Python 54.71% Scala 0.76% HTML 4.85% Makefile 7.23% CSS 1.68% JavaScript 11.12% Batchfile 6.78% MATLAB 2.88%

course-templates's Introduction

A course template for A-plus learning environment

This is a codebase which teaches how to make a new course on A+ e-learning system. A+ is currently used on many computer science courses on Aalto University.

Installation

This tutorial is tested with Aalto Ubuntu Linux environment and it probably works on any Unix / Linux / Mac environment. It is assumed that you already have the following software.

All other software runs inside Docker containers.

  1. Git clone this repository. E.g.:

    git clone https://github.com/apluslms/course-templates.git my_new_course

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

  3. Get a-plus-rst-tools: git submodule init and git submodule update

  4. ./docker-compile.sh to compile RST files to HTML and YAML.

  5. ./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.
  6. Insert the course material in a new git repository for the course. Keep editing and test in browser.

  7. 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-compose.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

atilante avatar markkuriekkinen avatar raphendyr avatar janmikaelr avatar nennu6 avatar teemulehtinen avatar alalav1 avatar jaguarfi avatar arikorhonen avatar mquinson avatar erastop1 avatar jparta 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.