add README
This commit is contained in:
parent
c947c33866
commit
5daddad360
26
README.md
Normal file
26
README.md
Normal 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/
|
Loading…
Reference in New Issue
Block a user