Tool zur Verwaltung der Sprechstunden in den offenen Arbeitsräumen der Fachschaft Mathematik, TU Darmstadt. https://sprechstunden.mathebau.de
Go to file
2022-09-22 13:15:17 +02:00
config Verbessere Logging und Fehlerbehandlung 2022-09-21 22:29:18 +02:00
controllers Merge remote-tracking branch 'origin/main' into styling 2022-09-22 13:15:17 +02:00
models Speichere Konfiguration in config/config.json 2022-09-19 14:46:16 +02:00
repositories Merge remote-tracking branch 'origin/main' into styling 2022-09-22 13:15:17 +02:00
sqldb Verbessere Logging und Fehlerbehandlung 2022-09-21 22:29:18 +02:00
static static file handler to include bootstrap stylesheets 2022-09-21 15:40:16 +02:00
templates refactor template rendering logic to one base template 2022-09-21 22:18:39 +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 Erstelle Maske, um Sprechstunden hinzuzufügen 2022-08-31 22:49:14 +02:00
go.mod Benenne Packages konsistent und füge go.mod und go.sum hinzu. 2022-09-20 12:21:01 +02:00
go.sum Benenne Packages konsistent und füge go.mod und go.sum hinzu. 2022-09-20 12:21:01 +02:00
main.go Merge remote-tracking branch 'origin/main' into styling 2022-09-22 13:15:17 +02:00
officeHoursMysql.sql 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
sqlite.sql Sprechstunden hinzufügen und durch einen E-Mail-Link bestätigen lassen 2022-09-05 17:55:08 +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.