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.
|
2 weeks ago | |
---|---|---|
config | 4 months ago | |
controllers | 3 months ago | |
models | 3 months ago | |
repositories | 3 months ago | |
sqldb | 5 months ago | |
static | 3 months ago | |
templating | 2 weeks ago | |
.gitignore | 6 months ago | |
README.md | 6 months ago | |
dummydatasqlite.sql | 1 month ago | |
go.mod | 3 months ago | |
go.sum | 3 months ago | |
main.go | 6 months ago | |
officeHoursMysql.sql | 6 months ago | |
officeHoursSQLite.sql | 6 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
.