forked from OCHA-DAP/hdx-ckan
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcommon-config-ini.txt
180 lines (136 loc) · 6.01 KB
/
common-config-ini.txt
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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
# PLEASE ALSO SEE FILE specific-config-ini.sample AND THE COMMENTS
# FROM THE BEGINNING OF THAT FILE
#
# This file contains the common configuration options for ckan.
# These configuration options should be the same on all
# servers and development environments.
# Do not change and commit changes to this file unless every
# server and dev environment needs to use the changes.
# The commented configuration options marked with "#!" need to
# be overwritten in your specific-config-ini.txt ( aka development.ini,
# aka production.ini )
[app:main]
use = egg:ckan
full_stack = true
cache_dir = /tmp/%(ckan.site_id)s/
beaker.session.key = ckan
# This is the secret token that the beaker library uses to hash the cookie sent
# to the client. `paster make-config` generates a unique value for this each
# time it generates a config file.
#
#!beaker.session.secret = 2yD+TjjiiW+VtA38OcfQJNPPO
# `paster make-config` generates a unique value for this each time it generates
# a config file.
#
# 2.1 app_instance_uuid = {61c80b08-7421-43ab-b01c-4dae95521374}
#!app_instance_uuid = {0b55a427-a808-470f-a341-37abcd46ba1}
# repoze.who config
who.config_file = %(here)s/ckan/config/who.ini
who.log_level = warning
who.log_file = %(cache_dir)s/who_log.ini
## Database Settings
#!sqlalchemy.url = postgresql://ckanuser:pass@localhost/ckandb
#ckan.datastore.write_url = postgresql://dsuser:pass@localhost/datastore
#ckan.datastore.read_url = postgresql://dsuser:pass@localhost/datastore
## Site Settings
#!ckan.site_url = http://ckan.example.org
## Authorization Settings
ckan.auth.anon_create_dataset = false
ckan.auth.create_unowned_dataset = false
ckan.auth.create_dataset_if_not_in_organization = false
ckan.auth.user_create_groups = false
ckan.auth.user_create_organizations = false
ckan.auth.user_delete_groups = false
ckan.auth.user_delete_organizations = false
ckan.auth.create_user_via_api = false
ckan.auth.create_user_via_web = true
ckan.auth.roles_that_cascade_to_sub_groups = admin
## Search Settings
ckan.site_id = default
#!solr_url = http://127.0.0.1:8983/solr
#ckan.simple_search = 1
## Plugins Settings
# Note: Add ``datastore`` to enable the CKAN DataStore
# Add ``datapusher`` to enable DataPusher
# Add ``pdf_preview`` to enable the resource preview for PDFs
# Add ``resource_proxy`` to enable resorce proxying and get around the
# same origin policy
#ckan.plugins_deprecated = hdx_orgs register metadata_fields dataset_auth ungroups hdx_theme stats text_preview recline_preview
#changed with mail validation ckan.plugins = hdx_crisis hdx_search sitemap hdx_org_group hdx_group hdx_package hdx_users hdx_theme stats text_preview recline_preview datastore
ckan.plugins = hdx_crisis hdx_search sitemap hdx_org_group hdx_group hdx_package hdx_users hdx_theme stats text_preview recline_preview datastore
## Front-End Settings
ckan.site_title = Humanitarian Data Exchange
ckan.site_logo = /hdx-logo-positive.png
ckan.site_description =
ckan.favicon = /images/icons/hdx.ico
ckan.gravatar_default = identicon
ckan.preview.direct = png jpg gif
ckan.preview.loadable = html htm rdf+xml owl+xml xml n3 n-triples turtle plain atom csv tsv rss txt json
# package_hide_extras = for_search_index_only
#package_edit_return_url = http://another.frontend/dataset/<NAME>
#package_new_return_url = http://another.frontend/dataset/<NAME>
#ckan.recaptcha.publickey =
#ckan.recaptcha.privatekey =
#!ckan.recaptcha.publickey =
#!ckan.recaptcha.privatekey =
#licenses_group_url = http://licenses.opendefinition.org/licenses/groups/ckan.json
# ckan.template_footer_end =
#!ckan.tracking_enabled = True
## Internationalisation Settings
ckan.locale_default = en_AU
ckan.locale_order = en pt_BR ja it cs_CZ ca es fr el sv sr sr@latin no sk fi ru de pl nl bg ko_KR hu sa sl lv
ckan.locales_offered =
ckan.locales_filtered_out = en_GB
## Feeds Settings
ckan.feeds.authority_name =
ckan.feeds.date =
ckan.feeds.author_name =
ckan.feeds.author_link =
## Storage Settings
# Local file storage:
ofs.impl = pairtree
ofs.storage_dir = /opt/www/data
ckan.storage_path = /opt/www/data
ckan.max_resource_size = 10
ckan.max_image_size = 2
## Datapusher settings
# Make sure you have set up the DataStore
#ckan.datapusher.formats =
#ckan.datapusher.url = http://127.0.0.1:8800/
## Activity Streams Settings
#ckan.activity_streams_enabled = true
#ckan.activity_list_limit = 31
#ckan.activity_streams_email_notifications = true
#ckan.email_notifications_since = 2 days
## Email settings
email_to = [email protected]
error_email_from = paste@localhost
smtp.server = localhost
smtp.starttls = False
#smtp.user = [email protected]
#smtp.password = your_password
#smtp.mail_from =
#hdx.orgrequest.email = [email protected]
hdx.orgrequest.sendmails = true
hdx.cache.onstartup = true
hdx.less_compile.onstartup = false
hdx.homepage.extrasources = 13
hdx.ogre.url = http://ogre:3000
hdx.datapreview.url = //data.hdx.rwlabs.org/dataproxy
hdx.previewmap.url = http://otile{s}.mqcdn.com/tiles/1.0.0/osm/{z}/{x}/{y}.png
hdx.crisismap.url = http://{s}.tile.openstreetmap.fr/hot/{z}/{x}/{y}.png
hdx.orgmap.url = //{s}.tile.openstreetmap.org/{z}/{x}/{y}.png
hdx.mapbox.baselayer.url = https://{s}.tiles.mapbox.com/v3/reliefweb.l43d4f5j/{z}/{x}/{y}.png
hdx.mapbox.labelslayer.url = https://{s}.tiles.mapbox.com/v3/reliefweb.l43djggg/{z}/{x}/{y}.png
## Chart / Top line num source settings
# Ebola page
hdx.ebola.datastore.top_line_num = a02903a9-022b-4047-bbb5-45127b591c85
hdx.ebola.datastore.cases = c59b5722-ca4b-41ca-a446-472d6d824d01
hdx.ebola.datastore.appeal = 93b92803-f9fa-45f4-bf72-73a8ab1d8922
# Columbia page
hdx.colombia.datastore.top_line_num = f78fe6f8-c363-4988-a847-b7c1c81ca233
hdx.colombia.datastore.displaced = 1f56da93-6622-477f-9b55-b109def3f248
hdx.colombia.datastore.access_constraints = 9e69d499-0b2b-4da6-9c61-10e453a57504
# Nepal Earthquake page
hdx.nepal_earthquake.filestore.circle_markers = /dataset/json-repository/resource_download/c7a5b4a5-ce29-484e-9f8c-581ccefba04e
hdx.nepal_earthquake.filestore.shakemap = /dataset/json-repository/resource_download/475656c7-ee1e-4cd1-a11e-fd20e397be1c