Files
vrobbler/justfile

32 lines
769 B
Makefile

dj-port := "0.0.0.0:" + env_var_or_default("DJANGO_PORT", "8000")
default:
@just --list
django:
poetry run python manage.py runserver {{dj-port}}
shell:
poetry run python manage.py shell
celery:
poetry run celery -A vrobbler worker -Q default,charts -l info --concurrency=2 --pool=threads
celery-priority:
poetry run celery -A vrobbler worker -Q priority -l info --concurrency=2 --pool=threads
celery-background:
poetry run celery -A vrobbler worker -Q background -l info --concurrency=1 --pool=threads
celery-beat:
poetry run celery -A vrobbler beat -l info
push:
git push && git push gitea
git push --tags && git push --tags gitea
release kind="minor":
poetry run python scripts/release.py {{kind}}
just push