27 lines
650 B
Markdown
27 lines
650 B
Markdown
|
# 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/
|