mirror of
https://github.com/cookiecutter/cookiecutter-django.git
synced 2024-11-10 19:57:09 +03:00
Makefile for use with docker
This commit is contained in:
parent
9db7f11675
commit
c5e0328297
13
Makefile
Normal file
13
Makefile
Normal file
|
@ -0,0 +1,13 @@
|
||||||
|
up:
|
||||||
|
@docker-compose -f local.yml up
|
||||||
|
|
||||||
|
build:
|
||||||
|
@docker-compose -f local.yml up --force-recreate --build
|
||||||
|
|
||||||
|
manage:
|
||||||
|
@docker-compose -f local.yml run --rm django python ./manage.py $(filter-out $@,$(MAKECMDGOALS)) --settings=config.settings.local
|
||||||
|
|
||||||
|
# https://stackoverflow.com/a/6273809/1826109
|
||||||
|
%:
|
||||||
|
@:
|
||||||
|
|
Loading…
Reference in New Issue
Block a user