Tool zur Verwaltung der Sprechstunden in den offenen Arbeitsräumen der Fachschaft Mathematik, TU Darmstadt. https://sprechstunden.mathebau.de
Find a file
2023-11-10 14:10:47 +01:00
config Mache maximale Sprechstundenlänge konfigurierbar 2023-10-26 11:29:42 +02:00
controllers Mache maximale Sprechstundenlänge konfigurierbar 2023-10-26 11:29:42 +02:00
models Konvertiere RequestActions zu IOTA 2023-01-04 13:06:13 +01:00
repositories Korrigiere Reihenfolge, um Foreign Keys zu respektieren 2023-10-21 16:37:47 +02:00
sqldb Verbessere Dokumentation 2022-11-04 21:17:00 +01:00
static code-style: centralize CSS styling into stylesheet file 2023-07-09 15:41:43 +02:00
templating Mache maximale Sprechstundenlänge konfigurierbar 2023-10-26 11:29:42 +02:00
.gitignore Benenne Packages konsistent und füge go.mod und go.sum hinzu. 2022-09-20 12:21:01 +02:00
dummydatasqlite.sql Neue Veranstaltung 2023-11-10 14:07:45 +01:00
go.mod Update sqlite3 2023-11-10 14:10:47 +01:00
go.sum Update sqlite3 2023-11-10 14:10:47 +01:00
LICENSE Add license 2023-03-24 12:28:19 +01:00
main.go Logge nach stderr 2022-09-27 17:49:26 +02:00
officeHoursMysql.sql Add foreign keys to databases. 2023-07-16 13:25:34 +02:00
officeHoursSQLite.sql Add foreign keys to databases. 2023-07-16 13:25:34 +02:00
README.md README: correct sql file position 2023-06-09 01:04:11 +02:00

Sprechstundentool der FS Mathematik TU Darmstadt

Developing

Make sure you have Go installed, e.g. by executing go version.

Initialize the database. For developing, we recommend using sqlite:

user@host:path/to/repo$ sqlite3 officeHours.db -init officeHoursSQLite.sql
sqlite> .read dummydatasqlite.sql

Now start the development webserver, note that you need to manually restart it to code changes take effect.

go run .

The website is exposed at http://localhost:8080, this (and some other options, e.g. where mails are sent to) can be adjusted in config/config.json.