commit 770da5fd591500032a931250e57690a4cae81146 parent 1825735a721a9fbb8cfb22bc712953291c2befee Author: Andreas Gruhler <andreas.gruhler@adfinis.com> Date: Tue, 12 Sep 2023 08:51:16 +0200 doc: update readme Diffstat:
M | README.md | | | 13 | +++++++++++++ |
1 file changed, 13 insertions(+), 0 deletions(-)
diff --git a/README.md b/README.md @@ -12,6 +12,8 @@ go run . make ``` +* The [sqlite3 driver](https://github.com/mattn/go-sqlite3) requires gcc and `CGO_ENABLED=1` + ## Linting ```bash make fmt @@ -46,6 +48,17 @@ HIVEDAV_CALDAV_PASSWORD= There is an example config file provided in `./app.env.example`. +## Storage + +The application stores the event start/end times in an sqlite database in the +directory where the process is running. + +```bash +sqlite3 app.db "select * from availability;" | less +``` + +TODO: Add the schema + ## Development & Contributions * All source code is available in this repository. Contributions are always welcome!