Definitively disable pre-commit hook
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
This commit is contained in:
parent
8cf6270d8f
commit
2553d6f9e6
|
@ -6,7 +6,7 @@ RUN npm install && \
|
|||
|
||||
FROM python:3.10.9-slim-bullseye
|
||||
|
||||
ENV VERSION_NUMBER 0.2.3-7-g0b1089b
|
||||
ENV VERSION_NUMBER 0.2.4
|
||||
ENV PROD 1
|
||||
ENV PYTHONUNBUFFERED=1
|
||||
|
||||
|
|
7
Makefile
7
Makefile
|
@ -19,13 +19,13 @@ makemigrations:
|
|||
migrate: makemigrations
|
||||
poetry run python src/web/manage.py migrate
|
||||
|
||||
dev: migrate sethookdir
|
||||
dev: migrate
|
||||
poetry run python src/web/manage.py runserver
|
||||
|
||||
caddy:
|
||||
caddy run --watch
|
||||
|
||||
dev-prod: migrate collectstatic sethookdir
|
||||
dev-prod: migrate collectstatic
|
||||
cd src/web/; PROD=1 poetry run python -m gunicorn --bind 0.0.0.0:8001 web.asgi:application -k uvicorn.workers.UvicornWorker
|
||||
|
||||
dumptracker:
|
||||
|
@ -52,9 +52,6 @@ poetry.lock: pyproject.toml
|
|||
test: poetry.lock
|
||||
poetry run pytest
|
||||
|
||||
sethookdir:
|
||||
git config core.hooksPath .githooks
|
||||
|
||||
date:
|
||||
poetry run python -c 'import datetime; from zoneinfo import ZoneInfo; print(datetime.datetime.isoformat(datetime.datetime.now(ZoneInfo("Europe/Prague")), timespec="minutes", sep=" "))'
|
||||
|
||||
|
|
Loading…
Reference in New Issue