You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
Gonne 3495fb5f50
Konvertiere RequestActions zu IOTA
1 month ago
config Validiere Mailaddressen in der Konfiguration 3 months ago
controllers Füge Security-Header hinzu 1 month ago
models Konvertiere RequestActions zu IOTA 1 month ago
repositories Konvertiere RequestActions zu IOTA 1 month ago
sqldb Verbessere Dokumentation 3 months ago
static Aktualisiere Bootstap und MySQL-Paket 1 month ago
templating Mache Start- und Endzeiten konfigurierbar 3 months ago
.gitignore Benenne Packages konsistent und füge go.mod und go.sum hinzu. 5 months ago
README.md add some documentation for getting started with development 5 months ago
dummydatasqlite.sql dummydatasql: streiche LA I für Physiker, wir haben schon LA für Physik und Lehramt 3 months ago
go.mod Aktualisiere Bootstap und MySQL-Paket 1 month ago
go.sum Aktualisiere Bootstap und MySQL-Paket 1 month ago
main.go Logge nach stderr 4 months ago
officeHoursMysql.sql Zeige Raumnamen an 4 months ago
officeHoursSQLite.sql Zeige Raumnamen an 4 months ago

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.