forked from JacobSheehy/pressureNETAnalysis
-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathsettings_local.py.ex
More file actions
46 lines (36 loc) · 1.05 KB
/
settings_local.py.ex
File metadata and controls
46 lines (36 loc) · 1.05 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
import os
CACHE_TIMEOUT = 0
# Django settings for pressurenet project.
DEBUG = True
TEMPLATE_DEBUG = DEBUG
DATABASES = {
'default': {
'ENGINE': 'sqlite3', # Add 'postgresql_psycopg2', 'mysql', 'sqlite3' or 'oracle'.
'NAME': 'pnet_dev', # Or path to database file if using sqlite3.
# The following settings are not used with sqlite3:
'USER': 'root',
'PASSWORD': 'root',
'HOST': 'localhost', # Empty for localhost through domain sockets or '127.0.0.1' for localhost through TCP.
'PORT': '', # Set to empty string for default.
}
}
CACHES = {
'default': {
'BACKEND': 'django.core.cache.backends.locmem.LocMemCache',
}
}
# Sentry Logging
RAVEN_CONFIG = {
}
# AWS Settings
AWS_ACCESS_KEY_ID = 'TODO'
AWS_SECRET_ACCESS_KEY = 'TODO'
# SQS Queue
SQS_QUEUE = 'TODO'
# S3 Bucket
S3_PUBLIC_BUCKET = 'TODO'
S3_PRIVATE_BUCKET = 'TODO'
# S3 Readings Log Duration in milliseconds
LOG_PERSIST_DURATION = 1 * 60 * 1000
LOG_DURATIONS = (
)