Tool zur Verwaltung der Sprechstunden in den offenen Arbeitsräumen der Fachschaft Mathematik, TU Darmstadt. https://sprechstunden.mathebau.de
Go to file
Gonne 329af2cf54 Aktualisiere Bootstap und MySQL-Paket 2023-01-04 11:29:41 +01:00
config Validiere Mailaddressen in der Konfiguration 2022-11-18 12:19:51 +01:00
controllers Korrigiere Prüfung von Mailsuffixen 2022-11-15 11:42:58 +01:00
models Füge Tests für date und config hinzu 2022-11-06 15:48:37 +01:00
repositories Verbessere Dokumentation 2022-11-04 21:17:00 +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
README.md add some documentation for getting started with development 2022-09-20 18:10:24 +02:00
dummydatasqlite.sql dummydatasql: streiche LA I für Physiker, wir haben schon LA für Physik und Lehramt 2022-11-22 15:28:54 +00: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

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.