Install CKAN Pages extension, related to #137

This commit is contained in:
Disassembler 2017-12-04 14:52:27 +01:00
parent c0389bba85
commit e2d3fc32bd
2 changed files with 11 additions and 4 deletions

View File

@ -29,6 +29,7 @@ patch -d /srv/ckan-datapusher -p0 <${SOURCE_DIR}/ckan/ckan-serviceprovider-sslve
/srv/ckan/bin/pip install -e 'git+https://github.com/ckan/ckanext-spatial#egg=ckanext_spatial' /srv/ckan/bin/pip install -e 'git+https://github.com/ckan/ckanext-spatial#egg=ckanext_spatial'
/srv/ckan/bin/pip install -e 'git+https://github.com/ckan/ckanext-geoview#egg=ckanext_geoview' /srv/ckan/bin/pip install -e 'git+https://github.com/ckan/ckanext-geoview#egg=ckanext_geoview'
/srv/ckan/bin/pip install -e 'git+https://github.com/ckan/ckanext-mapviews#egg=ckanext_mapviews' /srv/ckan/bin/pip install -e 'git+https://github.com/ckan/ckanext-mapviews#egg=ckanext_mapviews'
/srv/ckan/bin/pip install -e 'git+https://github.com/ckan/ckanext-pages#egg=ckanext_pages'
/srv/ckan/bin/pip install -e 'git+https://github.com/XVTSolutions/ckanext-spatialUI#egg=ckanext_spatialui' /srv/ckan/bin/pip install -e 'git+https://github.com/XVTSolutions/ckanext-spatialUI#egg=ckanext_spatialui'
/srv/ckan/bin/pip install -e 'git+https://github.com/aptivate/ckanext-datasetthumbnail#egg=ckanext_datasetthumbnail' /srv/ckan/bin/pip install -e 'git+https://github.com/aptivate/ckanext-datasetthumbnail#egg=ckanext_datasetthumbnail'
/srv/ckan/bin/pip install -e 'git+https://github.com/datagvat/ckanext-dgvat_xls#egg=ckanext_dgvat_xls' /srv/ckan/bin/pip install -e 'git+https://github.com/datagvat/ckanext-dgvat_xls#egg=ckanext_dgvat_xls'

View File

@ -82,7 +82,7 @@ solr_url = http://127.0.0.1:8983/solr/ckan
## Redis Settings ## Redis Settings
# URL to your Redis instance, including the database to be used. # URL to your Redis instance, including the database to be used.
ckan.redis.url = redis://localhost:6379/0 ckan.redis.url = redis://127.0.0.1:6379/0
## CORS Settings ## CORS Settings
@ -100,7 +100,7 @@ ckan.redis.url = redis://localhost:6379/0
# Add ``datapusher`` to enable DataPusher # Add ``datapusher`` to enable DataPusher
# Add ``resource_proxy`` to enable resorce proxying and get around the # Add ``resource_proxy`` to enable resorce proxying and get around the
# same origin policy # same origin policy
ckan.plugins = stats text_view image_view recline_view datastore datapusher resource_proxy linechart barchart piechart basicgrid spatial_metadata spatial_query geo_view geojson_view wmts_view navigablemap choroplethmap spatialUI datasetthumbnail dgvat_xls ckan.plugins = stats text_view image_view recline_view datastore datapusher resource_proxy linechart barchart piechart basicgrid spatial_metadata spatial_query geo_view geojson_view wmts_view navigablemap choroplethmap pages spatialUI datasetthumbnail dgvat_xls
# Define which views should be created by default # Define which views should be created by default
# (plugins must be loaded in ckan.plugins) # (plugins must be loaded in ckan.plugins)
@ -118,9 +118,15 @@ ckan.views.default_views = image_view text_view recline_view geo_view geojson_vi
ckanext.geoview.ol_viewer.formats = wms wfs geojson gml kml arcgis_rest gft ckanext.geoview.ol_viewer.formats = wms wfs geojson gml kml arcgis_rest gft
ckanext.geoview.gapi_key = AIzaSyBvIF3D550tlpL6o1xRrDurGo-81VhHlOw ckanext.geoview.gapi_key = AIzaSyBvIF3D550tlpL6o1xRrDurGo-81VhHlOw
# Pages plugin settings
ckanext.pages.organization = true
ckanext.pages.group = true
ckanext.pages.allow_html = true
ckanext.pages.editor = ckeditor
# Dataset thumbnail plugin settings # Dataset thumbnail plugin settings
ckan.datasetthumbnail.show_thumbnail = True ckan.datasetthumbnail.show_thumbnail = true
ckan.datasetthumbnail.auto_generate = True ckan.datasetthumbnail.auto_generate = true
## Front-End Settings ## Front-End Settings