diff --git a/30-ckan.sh b/30-ckan.sh index e7cba04..1b0701b 100755 --- a/30-ckan.sh +++ b/30-ckan.sh @@ -21,11 +21,13 @@ virtualenv --no-site-packages --python=/usr/bin/python2.7 /srv/ckan /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-mapviews#egg=ckanext_mapviews' +/srv/ckan/bin/pip install -e 'git+https://github.com/ckan/ckanext-scheming#egg=ckanext_scheming' /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/datagvat/ckanext-dgvat_xls#egg=ckanext_dgvat_xls' /srv/ckan/bin/pip install -r /srv/ckan/src/ckanext-spatial/pip-requirements.txt /srv/ckan/bin/pip install -r /srv/ckan/src/ckanext-geoview/pip-requirements.txt +/srv/ckan/bin/pip install -r /srv/ckan/src/ckanext-scheming/requirements.txt /srv/ckan/bin/pip install -r /srv/ckan/src/ckanext-datasetthumbnail/requirements.txt /srv/ckan/bin/pip install -r /srv/ckan/src/ckanext-dgvat-xls/requirements.txt diff --git a/ckan/etc/ckan/ckan.ini b/ckan/etc/ckan/ckan.ini index 6e1ba83..d1af384 100644 --- a/ckan/etc/ckan/ckan.ini +++ b/ckan/etc/ckan/ckan.ini @@ -100,7 +100,7 @@ ckan.redis.url = redis://localhost:6379/0 # Add ``datapusher`` to enable DataPusher # Add ``resource_proxy`` to enable resorce proxying and get around the # same origin policy -ckan.plugins = stats text_view image_view recline_view resource_proxy datastore datapusher spatial_metadata spatial_query geo_view geojson_view wmts_view navigablemap choroplethmap spatialUI linechart barchart piechart basicgrid datasetthumbnail dgvat_xls +ckan.plugins = stats text_view image_view recline_view resource_proxy datastore datapusher spatial_metadata spatial_query geo_view geojson_view wmts_view navigablemap choroplethmap scheming_datasets spatialUI linechart barchart piechart basicgrid datasetthumbnail dgvat_xls # Define which views should be created by default # (plugins must be loaded in ckan.plugins) @@ -122,6 +122,9 @@ ckan.datasetthumbnail.auto_generate = True ckanext.geoview.ol_viewer.formats = wms wfs geojson gml kml arcgis_rest gft ckanext.geoview.gapi_key = AIzaSyBvIF3D550tlpL6o1xRrDurGo-81VhHlOw +# Sheming plugin settings +scheming.dataset_schemas = ckanext.scheming:ckan_dataset.json ckanext.scheming:camel_photos.json + ## Front-End Settings ckan.site_title = CKAN ckan.site_logo = /base/images/ckan-logo.png