-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.py
28 lines (24 loc) · 1020 Bytes
/
config.py
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
def get_config():
config_data = {}
config_data['debug'] = True
config_data['base_dir'] = 'C:\\Users\\username\\Google Drive\\Students\\Paper collection\\'
config_data['max_rating'] = 4
# config_data['resource_download_and_bundle'] = {
# 'is_active': True,
# 'js': [
# 'https://code.angularjs.org/snapshot/angular.js',
# 'https://code.angularjs.org/snapshot/angular-touch.js',
# 'https://code.angularjs.org/snapshot/angular-animate.js',
# 'http://ui-grid.info/docs/grunt-scripts/csv.js',
# 'http://ui-grid.info/docs/grunt-scripts/pdfmake.js',
# 'http://ui-grid.info/docs/grunt-scripts/vfs_fonts.js',
# 'http://ui-grid.info/release/ui-grid-unstable.js',
# 'static/js/mygrid.js'
# ]
# }
# debug options
config_data['_save_data_as_static_json'] = {
'is_active': True,
'path': config_data['base_dir'] + '..\\.static_db.json'
}
return config_data