-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
35 lines (27 loc) · 753 Bytes
/
Makefile
File metadata and controls
35 lines (27 loc) · 753 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
.PHONY: install
install:
poetry install
.PHONY: install-pre-commit
install-pre-commit:
poetry run pre-commit uninstall; poetry run pre-commit install
.PHONY: lint
lint:
poetry run pre-commit run --all-files
.PHONY: run-server
run-server:
poetry run python -m core.manage runserver
.PHONY: migrate
migrate:
poetry run python -m core.manage migrate
.PHONY: migrations
migrations:
poetry run python -m core.manage makemigrations
.PHONY: superuser
superuser:
poetry run python -m core.manage createsuperuser
.PHONY: shell
shell:
poetry run python -m core.manage shell
# this is what developers should run as a first thing after cloning this repo
.PHONY: update
update: install migrate install-pre-commit ;