1 unstable release
0.0.0 | Nov 28, 2023 |
---|
#6 in #climate
2KB
KlicK
KlicK – Klimabilanzen an Kläranlagen mit einem Klick
Getting started
This tool is used at https://klimabilanzklaeranlage.de/
Cloning the repository
git clone https://codeberg.org/slowtec/klick
cd klick
Install Dependencies
On NixOS (or MacOS with Nix installed) run:
nix develop
just setup
Build & Run
For a list of available tasks (named recipes) run the following command:
just
Deployment
just build-release
scp target/x86_64-unknown-linux-musl/release/klick klick:/home/klick-app/klick-v0.4.x
ssh klick
systemctl stop klick-app
rm /home/klick-app/klick
ln -s /home/klick-app/klick-v0.4.x /home/klick-app/klick
systemctl start klick-app
Access report
On the server run this command:
zcat -f /var/log/nginx/access.log* | goaccess --log-format=COMBINED -a --anonymize-ip -o /tmp/report.html
Then download /tmp/report.html
and send via email.
License
Copyright (c) 2023 - 2024 slowtec GmbH
This project is licensed unter the AGPLv3 license.