Caricare nastri su ZX Spectrum 2
static | ||
templates | ||
.gitignore | ||
app.py | ||
mannaggianastri.service | ||
post-receive | ||
push-to-checkout | ||
README.md | ||
requirements.txt | ||
run.sh |
mannaggianastri
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/