diff options
-rw-r--r-- | Makefile | 6 | ||||
-rw-r--r-- | commonnet/local_settings.py.sample | 3 |
2 files changed, 6 insertions, 3 deletions
@@ -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 = [] |