Files
PunktFri/Makefile
Henrik Jess Nielsen b9d599a56d
All checks were successful
Build and Deploy PunktFri / build-and-deploy (push) Successful in 46s
fix: local dev port 9912
2026-04-26 19:32:18 +02:00

22 lines
374 B
Makefile

VENV := .venv
PYTHON := $(VENV)/bin/python
PIP := $(VENV)/bin/pip
PYTEST := $(VENV)/bin/pytest
.PHONY: install run test build
$(VENV)/bin/activate:
python3 -m venv $(VENV)
install: $(VENV)/bin/activate
$(PIP) install --quiet -r requirements-dev.txt
run: install
PORT=9912 $(PYTHON) app.py
test: install
$(PYTEST) tests/ -v
build:
docker build -t punktfri:local .