Add a makefile. master
authorRadek Czajka <rczajka@rczajka.pl>
Mon, 23 Sep 2019 13:07:11 +0000 (15:07 +0200)
committerRadek Czajka <rczajka@rczajka.pl>
Mon, 23 Sep 2019 13:07:11 +0000 (15:07 +0200)
Makefile [new file with mode: 0644]

diff --git a/Makefile b/Makefile
new file mode 100644 (file)
index 0000000..cc36123
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,8 @@
+.PHONY: deploy
+
+
+deploy: koedquiz/localsettings.py
+       pip install -r requirements.txt
+       src/manage.py migrate --noinput
+       src/manage.py collectstatic --noinput
+