Remove piston residue.
[wolnelektury.git] / Makefile
index 5ef3ba7..79fa8f6 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,3 +1,14 @@
+.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 update_counters
+       src/manage.py collectstatic --noinput
+
+
 .ONESHELL:
 test:
        cd src