Add CKAN scheming plugin, related to #137
This commit is contained in:
parent
d1cf63d8e4
commit
1d022f3082
@ -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-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-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/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'
|
||||||
/srv/ckan/bin/pip install -r /srv/ckan/src/ckanext-spatial/pip-requirements.txt
|
/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-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-datasetthumbnail/requirements.txt
|
||||||
/srv/ckan/bin/pip install -r /srv/ckan/src/ckanext-dgvat-xls/requirements.txt
|
/srv/ckan/bin/pip install -r /srv/ckan/src/ckanext-dgvat-xls/requirements.txt
|
||||||
|
|
||||||
|
@ -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 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
|
# Define which views should be created by default
|
||||||
# (plugins must be loaded in ckan.plugins)
|
# (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.ol_viewer.formats = wms wfs geojson gml kml arcgis_rest gft
|
||||||
ckanext.geoview.gapi_key = AIzaSyBvIF3D550tlpL6o1xRrDurGo-81VhHlOw
|
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
|
## Front-End Settings
|
||||||
ckan.site_title = CKAN
|
ckan.site_title = CKAN
|
||||||
ckan.site_logo = /base/images/ckan-logo.png
|
ckan.site_logo = /base/images/ckan-logo.png
|
||||||
|
Loading…
Reference in New Issue
Block a user