adds reset-d to makefile

This commit is contained in:
Michael Beck 2025-04-01 19:40:56 +02:00
parent f3ae6cadbb
commit dd707e2a9f

View File

@ -8,6 +8,14 @@ all: run
clean: clean:
rm -rf venv build dist .pytest_cache .mypy_cache *.egg-info rm -rf venv build dist .pytest_cache .mypy_cache *.egg-info
DB_PATH=scipaperloader/papers.db
reset-db:
rm -f $(DB_PATH)
flask db init || true
flask db migrate -m "Initial migration"
flask db upgrade
venv: venv:
python3 -m venv venv && \ python3 -m venv venv && \
$(PIP) install --upgrade pip setuptools && \ $(PIP) install --upgrade pip setuptools && \