diff options
author | Julien Dessaux | 2021-03-18 20:12:29 +0100 |
---|---|---|
committer | Julien Dessaux | 2021-03-18 20:12:29 +0100 |
commit | 27c0cd86c29385f1ac6703e7671347a5918c2f94 (patch) | |
tree | 50205eb5118d7548c7612bcdcce84fcc59359bc1 /README.md | |
download | trains-27c0cd86c29385f1ac6703e7671347a5918c2f94.tar.gz trains-27c0cd86c29385f1ac6703e7671347a5918c2f94.tar.bz2 trains-27c0cd86c29385f1ac6703e7671347a5918c2f94.zip |
Initial import
Diffstat (limited to '')
-rw-r--r-- | README.md | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/README.md b/README.md new file mode 100644 index 0000000..da5431a --- /dev/null +++ b/README.md @@ -0,0 +1,34 @@ +# Trains + +Trains is a simple web app to display train timetables for specific lines at stations on France SNCF's network. It records weekly passages and you can subscribe to certain train times to alert when schedules change or your stop is removed. It queries the SNCF official api and present the results in a minimal web page that loads fast (unlike the official sites with all their images and ads). + +## Content + +- [Dependencies](#dependencies) +- [Building](#building) +- [Usage](#usage) + +## Dependencies + +go is required. Only go version >= 1.16 on linux amd64 (Gentoo and Ubuntu 20.04) and on OpenBSD amd64 has been tested. + +## Building + +To run tests, use : +``` +go test -cover ./... +``` + +For a debug build, use : +``` +go build +``` + +For a release build, use : +``` +go build -ldflags="-s -w" +``` + +## Usage + +TODO |