cc1  v2.1
CC1 source code docs
 All Classes Namespaces Files Functions Variables Pages
src.clm.config_example Namespace Reference

Variables

 AUTOACTIVATION = False
 Should new accounts be activated after email confirmation (True) or manual activation by clmadmin (False)
string CONTACT_EMAIL = 'contact@email'
 Email address to be provided as contact email.
dictionary DATABASES
string EC2_URL = 'ec2.address.com:80'
 EC2 server configuration.
string EMAIL_HOST = 'localhost'
 Mailer server information.
string EMAIL_HOST_PASSWORD = ''
string EMAIL_HOST_USER = 'cc1'
string EMAIL_PORT = '25'
 EMAIL_USE_TLS = False
string FROM_EMAIL = 'cc1@cloud'
 Default 'from' adress for mailer.
string ISSUE_EMAIL = 'issue@email'
 Email address to send help-form messages to.
string LOG_DIR = '/var/log/cc1/clm/'
 Logging directory.
string LOG_FORMAT = "%(asctime)s - %(levelname)s - %(message)s"
 Log format for each entry.
 LOG_LEVEL = logging.DEBUG
 Log level - DEBUG, INFO or ERROR.
 MAILER_ACTIVE = False
 Is mailer in use?
string SECRET_KEY = 'CLM_SECRET_KEY'
 Make this unique, and don't share it with anybody.
int SSH_KEYS_LIMIT = 5
 SSH keys limit per user.

Variable Documentation

src.clm.config_example.AUTOACTIVATION = False

Should new accounts be activated after email confirmation (True) or manual activation by clmadmin (False)

Definition at line 33 of file config_example.py.

string src.clm.config_example.CONTACT_EMAIL = 'contact@email'

Email address to be provided as contact email.

Definition at line 53 of file config_example.py.

dictionary src.clm.config_example.DATABASES
Initial value:
1 {
2  'default': {
3  'ENGINE': 'django.db.backends.postgresql_psycopg2',
4  'NAME': 'clm', # Or path to database file if using sqlite3.
5 # 'USER': 'cc1', # Not used with sqlite3.
6 # 'PASSWORD': 'DATABASE_PASSWORD', # Not used with sqlite3.
7 # 'HOST': '127.0.0.1', # Set to empty string for localhost. Not used with sqlite3.
8 # 'PORT': '5432', # Set to empty string for default. Not used with sqlite3.
9  }
10 }

Definition at line 20 of file config_example.py.

string src.clm.config_example.EC2_URL = 'ec2.address.com:80'

EC2 server configuration.

Definition at line 56 of file config_example.py.

string src.clm.config_example.EMAIL_HOST = 'localhost'

Mailer server information.

Can be used to reporting bugs and issues

Definition at line 42 of file config_example.py.

string src.clm.config_example.EMAIL_HOST_PASSWORD = ''

Definition at line 46 of file config_example.py.

string src.clm.config_example.EMAIL_HOST_USER = 'cc1'

Definition at line 45 of file config_example.py.

string src.clm.config_example.EMAIL_PORT = '25'

Definition at line 43 of file config_example.py.

src.clm.config_example.EMAIL_USE_TLS = False

Definition at line 44 of file config_example.py.

string src.clm.config_example.FROM_EMAIL = 'cc1@cloud'

Default 'from' adress for mailer.

Definition at line 39 of file config_example.py.

string src.clm.config_example.ISSUE_EMAIL = 'issue@email'

Email address to send help-form messages to.

Definition at line 50 of file config_example.py.

string src.clm.config_example.LOG_DIR = '/var/log/cc1/clm/'

Logging directory.

Inside CM will create directory per user for user's logs.

Definition at line 12 of file config_example.py.

string src.clm.config_example.LOG_FORMAT = "%(asctime)s - %(levelname)s - %(message)s"

Log format for each entry.

Definition at line 18 of file config_example.py.

src.clm.config_example.LOG_LEVEL = logging.DEBUG

Log level - DEBUG, INFO or ERROR.

Definition at line 15 of file config_example.py.

src.clm.config_example.MAILER_ACTIVE = False

Is mailer in use?

Definition at line 36 of file config_example.py.

string src.clm.config_example.SECRET_KEY = 'CLM_SECRET_KEY'

Make this unique, and don't share it with anybody.

Definition at line 59 of file config_example.py.

int src.clm.config_example.SSH_KEYS_LIMIT = 5

SSH keys limit per user.

Definition at line 62 of file config_example.py.