From f57f79d40b9a6c8cc1333165ee11a341c78be181 Mon Sep 17 00:00:00 2001 From: Étienne Loks Date: Fri, 17 Apr 2015 19:30:20 +0200 Subject: Install scripts --- install/local_settings.py.sample | 41 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 install/local_settings.py.sample (limited to 'install/local_settings.py.sample') diff --git a/install/local_settings.py.sample b/install/local_settings.py.sample new file mode 100644 index 000000000..db40fe7bf --- /dev/null +++ b/install/local_settings.py.sample @@ -0,0 +1,41 @@ +#!/usr/bin/env python +# -*- coding: utf-8 -*- + +DEBUG = False +DEBUG_TOOLBAR = False +TEMPLATE_DEBUG = DEBUG +SQL_DEBUG = False + +APP_NAME = u"#PROJECT_NAME#" +ROOT_URLCONF = '#SHORT_NAME#.urls' +STATIC_URL = '/static-#DATE#/' +SECRET_KEY = "#SECRET_KEY#" +LOGFILE = "/var/log/django/ishtar-#SHORT_NAME#.log" + +MEDIA_ROOT = "#APP_DIR#/media/" + +ADMINS = ( + # ('Your Name', 'your_email@domain.com'), +) + +MANAGERS = ADMINS + +DATABASES = { + 'default': { + 'ENGINE': 'django.contrib.gis.db.backends.postgis', + 'NAME': '#DB_NAME#', + 'HOST': '#DB_HOST#', + 'PORT': '#DB_PORT#', + 'USER': '#DB_NAME#', + 'PASSWORD': '#DB_PASSWORD#', + } +} + +# choose the extensions to install +EXTRA_APPS = [ + 'archaeological_files', + 'archaeological_context_records', + 'archaeological_warehouse', + 'archaeological_finds', +] + -- cgit v1.2.3