cc1  v2.1
CC1 source code docs
 All Classes Namespaces Files Functions Variables Pages
config_example.py
Go to the documentation of this file.
1 # -*- coding: utf-8 -*-
2 # @cond LICENSE
3 #
4 # Copyright [2010-2013] Institute of Nuclear Physics PAN, Krakow, Poland
5 #
6 # Licensed under the Apache License, Version 2.0 (the "License");
7 # you may not use this file except in compliance with the License.
8 # You may obtain a copy of the License at
9 #
10 # http://www.apache.org/licenses/LICENSE-2.0
11 #
12 # Unless required by applicable law or agreed to in writing, software
13 # distributed under the License is distributed on an "AS IS" BASIS,
14 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 # See the License for the specific language governing permissions and
16 # limitations under the License.
17 #
18 # @endcond LICENSE
19 
20 ##
21 # @package src.wi.config
22 #
23 # @author Piotr Wójcik
24 # @author Krzysztof Danielowski
25 # @author Maciej Nabożny
26 # @date 08.11.2013
27 #
28 
29 import logging
30 
31 
32 CLOUD_MANAGER_ADDRESS = 'http://127.0.0.1:8000'
33 
34 LOG_LEVEL = logging.DEBUG
35 LOG_DIR = '/var/log/cc1/wi/'
36 
37 WI_DATA = {
38  'site_domain': 'localhost', # Web interface address for activation link
39  'site_name': 'cc1' # System name in emails
40 }
41 
42 # Make this unique, and don't share it with anybody.
43 SECRET_KEY = 'WI_SECRET_KEY'
44