Install Importarr from repository checkout

This commit is contained in:
2026-07-29 13:06:00 +02:00
parent 577ea97d46
commit 0f7fc6f032
9 changed files with 171 additions and 26 deletions
+27
View File
@@ -0,0 +1,27 @@
PYTHON ?= .venv/bin/python
PIP ?= .venv/bin/pip
SERVICE ?= importarr.service
LIVE_URL ?= http://127.0.0.1:8095
.PHONY: test install-systemd install-editable upgrade-local repo-upgrade verify-live
test:
$(PYTHON) -m pytest
install-systemd:
sudo -n sh deploy/systemd-install.sh
install-editable:
sudo -n /opt/importarr/venv/bin/pip install --upgrade --editable /srv/opencode-workspace/importarr
upgrade-local:
sudo -n /opt/importarr/venv/bin/pip install --upgrade --editable /srv/opencode-workspace/importarr
sudo -n systemctl restart $(SERVICE)
repo-upgrade:
sudo -n sh /opt/importarr/repo-upgrade.sh
verify-live:
curl -fsS $(LIVE_URL)/health
curl -fsS $(LIVE_URL)/api/status
curl -fsS $(LIVE_URL)/api/preview