Tool zur Verwaltung der Sprechstunden in den offenen Arbeitsräumen der Fachschaft Mathematik, TU Darmstadt. https://sprechstunden.mathebau.de
Find a file
2024-12-10 20:28:29 +01:00
config Capitalize error messages according to staticcheck 2024-12-10 20:28:29 +01:00
controllers Add option to subscribe to mailinglist 2024-01-11 14:45:16 +01:00
dummydata Split courses by semester 2024-05-17 09:36:59 +02:00
models Add option to subscribe to mailinglist 2024-01-11 14:45:16 +01:00
repositories Capitalize error messages according to staticcheck 2024-12-10 20:28:29 +01:00
sqldb Capitalize error messages according to staticcheck 2024-12-10 20:28:29 +01:00
static code-style: centralize CSS styling into stylesheet file 2023-07-09 15:41:43 +02:00
templating Set more info boxes 2024-05-17 09:37:33 +02:00
.gitignore Add option to subscribe to mailinglist 2024-01-11 14:45:16 +01:00
go.mod Dependency updates 2024-04-08 12:16:18 +02:00
go.sum Dependency updates 2024-04-08 12:16:18 +02: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 option to subscribe to mailinglist 2024-01-11 14:45:16 +01:00
officeHoursSQLite.sql Add option to subscribe to mailinglist 2024-01-11 14:45:16 +01:00
README.md Split courses by semester 2024-05-17 09:36:59 +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 dummydata/rooms.sql
sqlite> .read dummydata/summerCourses.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.