README for the pruefeungssekretariat-service
============================================
(da-op3n 2008 by ilo)

Description
-----------
This service provides an interface for 

1. students, who can register for exams, as well as get a list of all grades previously received, 
2. professors, who can create new exams and enter grades for students, and 
3. administrators, who have further access required to do administrative tasks, such as adding new students/professors etc. 

Start
-----
The server can be started with `ruby start.rb`. A mongrel-http-server on port 7000 is being started, as well as non-existing databases (`data/base.db` and `flags.yaml`) will be created.

Administration
--------------
The admin-interface is accessible via the `admin.rb`-script (not via browser). The following tasks can be done:

* Adding new students
* Adding new professors
* Removing students
* Removing professors
* List all students
* List all professors
* List all stored flags

### IMPORTANT
The names given to students and professors are for displaying purposes only. Every user gets an ID, this ID and the given password are being used for authentication.

Flags
-----
Flags are stored and retrieved by an *GET*ing http://$IP/flags/store/$ID/$FLAG and http://$IP/flags/retrieve/$ID, respectively.

Required gems
-------------
* mongrel
* sqlite3-ruby
* ramaze
* haml
* sequel -v 1.4.0
* highline