From 5daddad36041dc39b0535ab1db919d903f54e4bb Mon Sep 17 00:00:00 2001 From: bretello Date: Fri, 14 Jun 2024 21:40:30 +0200 Subject: [PATCH] add README --- README.md | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 README.md diff --git a/README.md b/README.md new file mode 100644 index 0000000..ba6fdfb --- /dev/null +++ b/README.md @@ -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/