summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 9ce49e9..9c3eb66 100644
--- a/Makefile
+++ b/Makefile
@@ -24,6 +24,10 @@ migrations: ## make DB migrations
migrate: ## apply DB migrations
$(PYTHON) manage.py migrate
+collectstatic: ## web - collect static files to serve
+ $(PYTHON) manage.py collectstatic --no-input
+
+
regenerate_all: migrate ## regenerate all the database
$(PYTHON) manage.py createsuperuser
$(PYTHON) manage.py import_csv_communes data_src/communes.csv