Deploy in Makefile.
[wolnelektury.git] / Makefile
index 5ef3ba7..471127c 100644 (file)
--- 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
 .ONESHELL:
 test:
        cd src