summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile6
-rw-r--r--commonnet/local_settings.py.sample3
2 files changed, 6 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 6963344..270eca1 100644
--- a/Makefile
+++ b/Makefile
@@ -30,11 +30,13 @@ collectstatic: ## web - collect static files to serve
update: collectstatic compilemessages migrate ## update
echo "OK"
-regenerate_all: migrate ## regenerate all the database
- $(PYTHON) manage.py createsuperuser
+default_import: ## import default data
$(PYTHON) manage.py import_csv_communes data_src/communes.csv
$(PYTHON) manage.py import_csv_autres data_src/autres.csv
+regenerate_all: migrate default_import ## regenerate all the database
+ $(PYTHON) manage.py createsuperuser
+
crawl: ## launch crawl on the first planified crawler
$(PYTHON) manage.py launch_crawl --first-available
diff --git a/commonnet/local_settings.py.sample b/commonnet/local_settings.py.sample
index 879abf0..50b8334 100644
--- a/commonnet/local_settings.py.sample
+++ b/commonnet/local_settings.py.sample
@@ -1,7 +1,8 @@
RESPONSIBLE_EMAIL = None
-# Cache for http request - set to false in production
+# Cache for http request - set to False in production
DEV = True
+DEBUG = False
EXTRA_APPS = []