When harvest comes, Shemu tells you if you have correctly submitted your work.
This repository has been archived on 2022-08-15. You can view files and clone it, but cannot push or open issues or pull requests.
Go to file
nemunaire 303d748029 New option to delist login from main list 2022-08-15 10:35:38 +02:00
.gitignore Initial commit 2016-10-12 00:17:40 +02:00
README.md Display main page with all students and all projects 2016-10-12 00:18:36 +02:00
go.mod Add go.mod 2021-09-24 09:45:11 +02:00
main.go New option to delist login from main list 2022-08-15 10:35:38 +02:00
nginx-sample.conf Display main page with all students and all projects 2016-10-12 00:18:36 +02:00

README.md

Shemu

When harvest comes, Shemu tells you if you have correctly submitted your work.

Shemu is a HTML interface looking for an extracted tarball for each students in each projects.

Compilation

This program is written in Go. It has no dependancy, you can compile it with the following command:

go build

Projects

Shemu takes as argument a path to a directory containing projects.

The tree exptected looks like:

rendu/
    TP1/
	    login_x/
		    ...
	    mercie_d/
		    ...
    TP2/
	    login_x/
		    ...
	    mercie_d/
		    ...

In the above tree, 2 projects are defined: named TP1 and TP2, from their directory name.

Students

A file with students list is expected, in CSV format.

A line looks like:

Mercier,Pierre-Olivier,mercie_d,64170,github@nemunai.re,0123456789

The third column is used has student identifier. It is this identifier that is search in each project directory.

Usage

./shemu -students ~/projects/students.csv -path ~/projects/

Another convinient way to use it is to launch and forget:

nohup ./shemu -bind :8079 -title "Submissions title" -students ~/projects/students.csv -path ~/projects/ &