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