Caricare nastri su ZX Spectrum 2
Go to file
2024-06-15 12:24:26 +02:00
static 💫 prettier css 2024-06-15 12:12:39 +02:00
templates 💫 prettier css 2024-06-15 12:12:39 +02:00
.gitignore initial commit 2024-06-14 17:39:50 +02:00
app.py fix upload $ prefix 2024-06-15 12:24:26 +02:00
mannaggianastri.service fix service 2024-06-14 18:37:33 +02:00
post-receive post-receive: reload units 2024-06-14 18:37:06 +02:00
push-to-checkout make push-to-checkout executable 2024-06-14 18:24:00 +02:00
README.md add README 2024-06-14 21:40:30 +02:00
requirements.txt use gunicorn 2024-06-14 20:30:02 +02:00
run.sh run.sh: show access logfile on stdout 2024-06-14 20:35:25 +02:00

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/