From 79e50ced0d31cb8ebbaaf7ac473da007027b8747 Mon Sep 17 00:00:00 2001 From: clerie Date: Sun, 6 Jul 2025 17:32:43 +0200 Subject: [PATCH] Add README --- README.md | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 README.md diff --git a/README.md b/README.md new file mode 100644 index 0000000..69cb23f --- /dev/null +++ b/README.md @@ -0,0 +1,25 @@ +# Traveldrafter + +Keep track over multiple different connections while traveling trains. + +## Run + +``` +nix run git+https://git.clerie.de/clerie/traveldrafter.git +``` + +The web frontend is served under . + +In production you probably would want to serve dir `web` directory as the service root from a webserver like nginx directly and only proxy the `api` route to the application. + +## Development + +Pass the path to the directory of the frontend scripts as `WEBDIR` environemnt var. + +``` +git clone https://git.clerie.de/clerie/traveldrafter.git + +cd traveldrafter + +WEBDIR=web nix run +```