add README

This commit is contained in:
bretello 2024-06-14 21:40:30 +02:00
parent c947c33866
commit 5daddad360
Signed by: brethil
GPG Key ID: 876AAC6290170FE7

26
README.md Normal file
View File

@ -0,0 +1,26 @@
# mannaggianastri
```bash
git clone https://git.abbiamoundominio.org/brethil/mannaggianastri
cd mannaggianastri
python -m venv .venv
source .venv/bin/activate
pip install -r requirements.txt
# set up git hooks to enable to restart on receive on this host
ln -s $PWD/post-receive .git/hooks
ln -s $PWD/push-to-checkout .git/hooks
git config receive.denyCurrentBranch updateInstead
# set up systemd unit
ln -s $PWD/mannaggianastri.service /lib/systemd/user
systemctl --user daemon-reload
systemctl --user start mannaggianastri
journalctl --user --follow --unit mannaggianastri
```
The web interface is set to default to https://localhost:8080/