28 lines
418 B
Makefile
28 lines
418 B
Makefile
# TODO(rmanach): add a pyproject.toml
|
|
|
|
format:
|
|
black deployment/*.py
|
|
black mumui/*.py
|
|
|
|
lint:
|
|
ruff deployment/*.py
|
|
ruff mumui/*.py
|
|
|
|
migrations:
|
|
python manage.py makemigrations
|
|
python manage.py migrate
|
|
|
|
django:
|
|
docker build . -t mumui:local
|
|
|
|
pushpin-local:
|
|
cd pushpin && docker build . -t pushpin:local
|
|
|
|
nginx-local:
|
|
cd nginx && docker build . -t nginx:local
|
|
|
|
run:
|
|
docker compose up
|
|
|
|
stop:
|
|
docker compose down
|