cc1
v2.1
CC1 source code docs
Main Page
Related Pages
Packages
Classes
Files
File List
All
Classes
Namespaces
Files
Functions
Variables
Pages
config_example.py
Go to the documentation of this file.
1
##
2
#
3
# @date May 8, 2013
4
# @author gaet
5
#
6
7
# logging
8
import
logging
9
10
## Logging directory. Inside CM will create directory per user for
11
# user's logs.
12
LOG_DIR =
'/var/log/cc1/clm/'
13
14
## Log level - DEBUG, INFO or ERROR
15
LOG_LEVEL = logging.DEBUG
16
17
## Log format for each entry
18
LOG_FORMAT =
"%(asctime)s - %(levelname)s - %(message)s"
19
20
DATABASES = {
21
'default'
: {
22
'ENGINE'
:
'django.db.backends.postgresql_psycopg2'
,
23
'NAME'
:
'clm'
,
# Or path to database file if using sqlite3.
24
# 'USER': 'cc1', # Not used with sqlite3.
25
# 'PASSWORD': 'DATABASE_PASSWORD', # Not used with sqlite3.
26
# 'HOST': '127.0.0.1', # Set to empty string for localhost. Not used with sqlite3.
27
# 'PORT': '5432', # Set to empty string for default. Not used with sqlite3.
28
}
29
}
30
31
## Should new accounts be activated after email confirmation (True) or manual
32
# activation by clmadmin (False)
33
AUTOACTIVATION =
False
34
35
## Is mailer in use?
36
MAILER_ACTIVE =
False
37
38
## Default 'from' adress for mailer
39
FROM_EMAIL =
'cc1@cloud'
40
41
## Mailer server information. Can be used to reporting bugs and issues
42
EMAIL_HOST =
'localhost'
43
EMAIL_PORT =
'25'
44
EMAIL_USE_TLS =
False
45
EMAIL_HOST_USER =
'cc1'
46
EMAIL_HOST_PASSWORD =
''
47
48
49
## Email address to send help-form messages to
50
ISSUE_EMAIL =
'issue@email'
51
52
## Email address to be provided as contact email
53
CONTACT_EMAIL =
'contact@email'
54
55
## EC2 server configuration
56
EC2_URL =
'ec2.address.com:80'
57
58
## Make this unique, and don't share it with anybody.
59
SECRET_KEY =
'CLM_SECRET_KEY'
60
61
## SSH keys limit per user
62
SSH_KEYS_LIMIT = 5
63
clm
config_example.py
Generated on Wed Jun 18 2014 13:32:50 for cc1 by
1.8.1.2