Files
linkding/Makefile
Sascha Ißbrücker b6c4634403 Add make command
2026-01-01 21:30:02 +01:00

34 lines
589 B
Makefile

.PHONY: serve
init:
uv sync
uv run manage.py migrate
npm install
serve:
uv run manage.py runserver
tasks:
uv run manage.py run_huey
test:
uv run pytest -n auto
format:
uv run black bookmarks
uv run djlint bookmarks/templates --reformat --quiet --warn
npx prettier bookmarks/frontend --write
npx prettier bookmarks/styles --write
prepare-e2e:
uv run playwright install chromium
rm -rf static
npm run build
uv run manage.py collectstatic --no-input
e2e:
make prepare-e2e
uv run pytest bookmarks/tests_e2e -n auto -o "python_files=e2e_test_*.py"
frontend:
npm run dev