Add entrypoint for ckanext-pages
This commit is contained in:
parent
5e3baba522
commit
09f56ebce6
|
@ -163,6 +163,11 @@ CKANEXT__SCHEMING_DCAT_FACET_LIST="theme groups theme_es dcat_type groups publis
|
|||
CKANEXT__SCHEMING_DCAT_ORGANIZATION_CUSTOM_FACETS=True
|
||||
CKANEXT__SCHEMING_DCAT_GROUP_CUSTOM_FACETS=True
|
||||
|
||||
# ckanext-pages
|
||||
CKANEXT__PAGES__ALOW_HTML=False
|
||||
CKANEXT__PAGES__ORGANIZATION=True
|
||||
CKANEXT__PAGES__GROUP=True
|
||||
|
||||
# WIP: ckanext-sparql_interface
|
||||
CKANEXT__SPARQL__ENDPOINT_URL=https://dbpedia.org/sparql
|
||||
CKANEXT__SPARQL__HIDE_ENDPOINT_URL=False
|
|
@ -0,0 +1,8 @@
|
|||
#!/bin/bash
|
||||
|
||||
# Add pages CKAN config file (https://github.com/ckan/ckanext-pages#configuration)
|
||||
echo "Loading pages config in the CKAN config file"
|
||||
ckan config-tool $CKAN_INI \
|
||||
"ckan.pages.allow_html = $CKANEXT__PAGES__ALOW_HTML" \
|
||||
"ckanext.pages.organization = $CKANEXT__PAGES__ORGANIZATION" \
|
||||
"ckanext.pages.group = $CKANEXT__PAGES__GROUP" \
|
Loading…
Reference in New Issue