Tool zur Verwaltung der Sprechstunden in den offenen Arbeitsräumen der Fachschaft Mathematik, TU Darmstadt.
https://sprechstunden.mathebau.de
config | ||
controllers | ||
models | ||
repositories | ||
sqldb | ||
static | ||
templating | ||
.gitignore | ||
dummydatasqlite.sql | ||
go.mod | ||
go.sum | ||
LICENSE | ||
main.go | ||
officeHoursMysql.sql | ||
officeHoursSQLite.sql | ||
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 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
.