Makefile for use with docker

This commit is contained in:
Angel Gonzalo 2018-11-29 17:08:45 +01:00
parent 9db7f11675
commit c5e0328297

13
Makefile Normal file
View 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
%:
@: