From 25cb0dced028c91d9a73d7faedae4d3e73162902 Mon Sep 17 00:00:00 2001 From: Radek Czajka Date: Fri, 8 Feb 2019 11:38:57 +0100 Subject: [PATCH 1/1] Deploy in Makefile. --- Makefile | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/Makefile b/Makefile index 5ef3ba7e4..471127c17 100644 --- a/Makefile +++ b/Makefile @@ -1,3 +1,13 @@ +.PHONY: deploy test + + +deploy: src/wolnelektury/localsettings.py + git submodule update --init + pip install -r requirements/requirements.txt + src/manage.py migrate --noinput + src/manage.py collectstatic --noinput + + .ONESHELL: test: cd src -- 2.20.1