-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
39 lines (27 loc) · 677 Bytes
/
Makefile
File metadata and controls
39 lines (27 loc) · 677 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
36
37
38
39
install:
poetry install
migrations:
poetry run python manage.py makemigrations
migrate:
poetry run python manage.py migrate
check-migrations:
poetry run python manage.py migrate --fake
req:
poetry lock ; \
poetry export -f requirements.txt --output requirements.txt
run:
poetry run python manage.py runserver 0.0.0.0:8000
lint:
poetry run flake8
test:
poetry run coverage run --source '.' manage.py test
coverage:
poetry run coverage xml
django-shell:
poetry run python manage.py shell
start-locale:
poetry run python manage.py makemessages -l ru
locale:
poetry run python manage.py compilemessages
heroku-shell:
heroku run bash -a hidden-bayou-30395