Tool zur Verwaltung der Sprechstunden in den offenen Arbeitsräumen der Fachschaft Mathematik, TU Darmstadt. https://sprechstunden.mathebau.de
Find a file
2023-02-12 19:50:10 +01:00
config Validiere Mailaddressen in der Konfiguration 2022-11-18 12:19:51 +01:00
controllers Füge Security-Header hinzu 2023-01-04 12:35:24 +01:00
models Konvertiere RequestActions zu IOTA 2023-01-04 13:06:13 +01:00
repositories Konvertiere RequestActions zu IOTA 2023-01-04 13:06:13 +01:00
sqldb Verbessere Dokumentation 2022-11-04 21:17:00 +01:00
static Aktualisiere Bootstap und MySQL-Paket 2023-01-04 11:29:41 +01:00
templating Mache Start- und Endzeiten konfigurierbar 2022-11-15 11:42:23 +01:00
.gitignore Benenne Packages konsistent und füge go.mod und go.sum hinzu. 2022-09-20 12:21:01 +02:00
dummydatasqlite.sql Sortiere Veranstaltungen 2023-02-12 19:50:10 +01:00
go.mod Aktualisiere Bootstap und MySQL-Paket 2023-01-04 11:29:41 +01:00
go.sum Aktualisiere Bootstap und MySQL-Paket 2023-01-04 11:29:41 +01:00
main.go Logge nach stderr 2022-09-27 17:49:26 +02:00
officeHoursMysql.sql Zeige Raumnamen an 2022-09-27 16:40:47 +02:00
officeHoursSQLite.sql Zeige Raumnamen an 2022-09-27 16:40:47 +02:00
README.md add some documentation for getting started with development 2022-09-20 18:10:24 +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 sqlite.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.