From: Radek Czajka Date: Fri, 8 Feb 2019 10:38:57 +0000 (+0100) Subject: Deploy in Makefile. X-Git-Url: https://git.mdrn.pl/wolnelektury.git/commitdiff_plain/25cb0dced028c91d9a73d7faedae4d3e73162902 Deploy in Makefile. --- 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