From c5e03282973ee5317e0211e4b3e883000325899a Mon Sep 17 00:00:00 2001 From: Angel Gonzalo Date: Thu, 29 Nov 2018 17:08:45 +0100 Subject: [PATCH] Makefile for use with docker --- Makefile | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 Makefile diff --git a/Makefile b/Makefile new file mode 100644 index 00000000..aa4adc17 --- /dev/null +++ b/Makefile @@ -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 +%: + @: +