Advertisement
Conzar

ckan test ini

Oct 14th, 2019
24
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.  
  2. [DEFAULT]
  3.  
  4. debug = false
  5.  
  6. [server:main]
  7. use = egg:Paste#http
  8. host = 0.0.0.0
  9. port = 5000
  10.  
  11. [app:main]
  12. use = egg:ckan
  13. full_stack = true
  14. cache_dir = /tmp/%(ckan.site_id)s/
  15. beaker.session.key = ckan
  16. beaker.session.secret =
  17. app_instance_uuid =
  18. who.config_file = %(here)s/who.ini
  19. who.log_level = warning
  20. who.log_file = %(cache_dir)s/who_log.ini
  21. sqlalchemy.url = postgresql://ckan_default:pass@localhost/ckan_default
  22. ckan.datastore.write_url=postgresql://ckan_default:pass@localhost/datastore_default
  23. ckan.datastore.read_url=postgresql://datastore_default:pass@localhost/datastore_default
  24.  
  25. ckan.datastore.default_fts_lang = english
  26. ckan.datastore.default_fts_index_method = gist
  27.  
  28. ckan.site_url =https://192.168.33.11
  29.  
  30. ckan.auth.anon_create_dataset = false
  31. ckan.auth.create_unowned_dataset = false
  32. ckan.auth.create_dataset_if_not_in_organization = false
  33. ckan.auth.user_create_groups = false
  34. ckan.auth.user_create_organizations = false
  35. ckan.auth.user_delete_groups = true
  36. ckan.auth.user_delete_organizations = true
  37. ckan.auth.create_user_via_api = false
  38. ckan.auth.create_user_via_web = true
  39. ckan.auth.roles_that_cascade_to_sub_groups = admin
  40.  
  41. ckan.site_id = ckan
  42. solr_url=http://127.0.0.1:8983/solr/ckan
  43.  
  44. ckan.plugins = stats text_view image_view recline_view recline_grid_view recline_map_view recline_graph_view datastore resource_proxy datapusher webpage_view harvest ckan_harvester dcat dcat_rdf_harvester dcat_json_harvester dcat_json_interface structured_data geo_view geojson_view wmts_view zip_view
  45.  
  46. ckan.views.default_views = image_view text_view recline_view webpage_view geo_view geojson_view wmts_view zip_view
  47.  
  48. ckan.preview.text_formats=nex nxs r py pyw txt text plain text/plain
  49.  
  50. ckan.site_title = Test CKAN Repository
  51. ckan.site_logo = /base/images/site_logo.png
  52. ckan.site_description =A shared environment
  53. ckan.favicon = /base/images/ckan.ico
  54. ckan.gravatar_default = identicon
  55. ckan.preview.direct = png jpg gif
  56. ckan.preview.loadable = html htm rdf+xml owl+xml xml n3 n-triples turtle plain atom csv tsv rss txt json
  57. ckan.display_timezone = Pacific/Auckland
  58.  
  59. ckan.recaptcha.version=2
  60. ckan.recaptcha.publickey=
  61. ckan.recaptcha.privatekey=
  62. licenses_group_url=file:///etc/ckan/default/license.json
  63.  
  64.  
  65. ## Internationalisation Settings
  66. ckan.locale_default = en
  67. 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
  68. ckan.locales_offered =
  69. ckan.locales_filtered_out = en_GB
  70.  
  71. ## Feeds Settings
  72.  
  73. ckan.feeds.authority_name =
  74. ckan.feeds.date =
  75. ckan.feeds.author_name =
  76. ckan.feeds.author_link =
  77.  
  78. ## Storage Settings
  79.  
  80. ckan.storage_path=/var/lib/ckan/default
  81. ckan.max_resource_size=1000
  82. ckan.max_image_size=15
  83.  
  84. ckan.datapusher.formats=csv tsv application/csv application/vnd.openxmlformats-officedocument.spreadsheetml.sheet
  85. ckan.datapusher.url=http://0.0.0.0:8800
  86.  
  87. ckan.resource_proxy.max_file_size=2000000
  88.  
  89. ckan.activity_streams_enabled=true
  90. ckan.activity_streams_email_notifications=false
  91. ckan.hide_activity_from_users = %(ckan.site_id)s
  92.  
  93. email_to=
  94. smtp.server=
  95. smtp.mail_from=
  96.  
  97. ## Logging configuration
  98. ckan.harvest.mq.type=redis
  99. ckan.simple_search=false
  100. extra_public_paths=/var/local/ckan
  101. ckan.site_intro_text=
  102. ckan.site_about=Pilot data catalogue
  103. ckan.main_css=/base/css/custom.css
  104. ckan.preview_json_formats=json
  105. ckan.preview_xml_formats=xml rdf rdf+xml owl+xml atom rss gpx
  106. ckan.preview_image_formats=png jpeg jpg gif svg bmp
  107. ofs.storage_dir=/var/lib/ckan/default
  108. email_from=
  109. ckan.featured_orgs=zdataup
  110. ckan.featured_groups=
  111. ckan.tracking_enabled=true
  112. ckanext.geoview.ol_viewer.formats=wms wfs geojson gml kml
  113. ckanext.geoview.gapi_key=
  114. ckanext.geoview.ol_viewer.hide_overlays=false
  115. ckanext.geoview.ol_viewer.default_feature_hoveron=true
  116. [loggers]
  117. keys = root, ckan, ckanext
  118.  
  119. [handlers]
  120. keys = console
  121.  
  122. [formatters]
  123. keys = generic
  124.  
  125. [logger_root]
  126. level = WARNING
  127. handlers = console
  128.  
  129. [logger_ckan]
  130. level = INFO
  131. handlers = console
  132. qualname = ckan
  133. propagate = 0
  134.  
  135. [logger_ckanext]
  136. level = DEBUG
  137. handlers = console
  138. qualname = ckanext
  139. propagate = 0
  140.  
  141. [handler_console]
  142. class = StreamHandler
  143. args = (sys.stderr,)
  144. level = NOTSET
  145. formatter = generic
  146.  
  147. [formatter_generic]
  148. format = %(asctime)s %(levelname)-5.5s [%(name)s] %(message)s
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement