A project to collect solutions to programming exercises from students through a common web interface.
After you have installed and configured this tool (see below), users will be
able to submit solutions. The solutions will be saved in
the directory that you specify during configuration, according
to the following scheme: t11/123123_356348/2017-11-12_02:26:25/ex4/
where t11
means that the files were submitted for tutor 11,
123123_356348
are the matriculation numbers of the students,
2017-11-12_02:26:25
is the time of submission and ex4
means
that the solutions were submitted for exercise 4.
The files will also be sent as a zip archive to the email address that is specified for the relevant tutor.
The grader application is meant to be served by a webserver like Apache that is configured to execute php scripts.
- Clone the repository
cd backend
- Install the dependencies of the backend:
php composer.phar install
(this requires thecomposer
package manager) cd ../frontend
- Install the dependencies of the frontend:
npm install
(this requires the node package managernpm
) - Build the frontend files:
node_modules/.bin/webpack
- Have the server of your choice serve the
wwwroot
directory- make sure php scripts are executed
- the webserver needs to have write access to the directory to which the submitted files are uploaded, which can be configured (see below)
- Configure the project as described below.
- Copy
sample.config.php
toconfig.php
- Adapt
config.php
according to the comments it contains.