Initial
This commit is contained in:
21
Makefile
Normal file
21
Makefile
Normal file
@ -0,0 +1,21 @@
|
||||
ifeq ($(VIRTUAL_ENV),)
|
||||
RUN_IN_ENV=poetry run
|
||||
else
|
||||
RUN_IN_ENV=
|
||||
endif
|
||||
|
||||
|
||||
run:
|
||||
@ $(RUN_IN_ENV) python manage.py runserver
|
||||
|
||||
|
||||
shell:
|
||||
@ $(RUN_IN_ENV) python manage.py shell
|
||||
|
||||
|
||||
migrations:
|
||||
@ $(RUN_IN_ENV) python manage.py makemigrations
|
||||
|
||||
|
||||
migrate:
|
||||
@ $(RUN_IN_ENV) python manage.py migrate
|
||||
Reference in New Issue
Block a user