Refactoring things and doing stuff in a MVP way. #15
8
Makefile
8
Makefile
|
@ -1,15 +1,15 @@
|
||||||
DOCKER_RUN = docker-compose run -e UID=`id -u` -e GID=`id -g`
|
DOCKER_COMPOSE = COMPOSE_DOCKER_CLI_BUILD=1 DOCKER_BUILDKIT=1 docker-compose
|
||||||
DOCKER_BUILD = DOCKER_BUILDKIT=1 docker build
|
DOCKER_RUN = ${DOCKER_COMPOSE} run -e UID=`id -u` -e GID=`id -g`
|
||||||
MANAGE = ${DOCKER_RUN} backend python /app/src/manage.py
|
MANAGE = ${DOCKER_RUN} backend python /app/src/manage.py
|
||||||
|
|
||||||
lint:
|
lint:
|
||||||
poetry run pre-commit run --all
|
poetry run pre-commit run --all
|
||||||
|
|
||||||
run:
|
run:
|
||||||
docker-compose up --build
|
${DOCKER_COMPOSE} up --build
|
||||||
|
|
||||||
build:
|
build:
|
||||||
docker-compose build
|
${DOCKER_COMPOSE} build
|
||||||
|
|
||||||
makemessages:
|
makemessages:
|
||||||
${MANAGE} makemessages -a
|
${MANAGE} makemessages -a
|
||||||
|
|
Loading…
Reference in a new issue