Merge pull request #138 from mjanez/ckan-2.9.11
Update CKAN configuration to includes vars to the metadata templates and update ckanext-schemingdcat
This commit is contained in:
commit
6789b13beb
|
@ -1,5 +1,7 @@
|
||||||
# Base
|
# Base
|
||||||
APP_DIR=/srv/app
|
APP_DIR=/srv/app
|
||||||
|
# Sets Docker Compose project name to avoid resource conflicts between projects. Defaults to the folder name "ckan-docker" if not set.
|
||||||
|
#COMPOSE_PROJECT_NAME=ckan-docker-mytheme
|
||||||
|
|
||||||
# Host Ports
|
# Host Ports
|
||||||
CKAN_PORT_HOST=5000
|
CKAN_PORT_HOST=5000
|
||||||
|
@ -173,6 +175,7 @@ CKANEXT__SCHEMINGDCAT_ORGANIZATION_CUSTOM_FACETS=True
|
||||||
CKANEXT__SCHEMINGDCAT_GROUP_CUSTOM_FACETS=True
|
CKANEXT__SCHEMINGDCAT_GROUP_CUSTOM_FACETS=True
|
||||||
CKANEXT__SCHEMINGDCAT_DEFAULT_PACKAGE_ITEM_ICON="theme"
|
CKANEXT__SCHEMINGDCAT_DEFAULT_PACKAGE_ITEM_ICON="theme"
|
||||||
CKANEXT__SCHEMINGDCAT_DEFAULT_PACKAGE_ITEM_SHOW_SPATIAL=True
|
CKANEXT__SCHEMINGDCAT_DEFAULT_PACKAGE_ITEM_SHOW_SPATIAL=True
|
||||||
|
CKANEXT__SCHEMINGDCAT_SHOW_METADATA_TEMPLATES_TOOLBAR=False
|
||||||
|
|
||||||
# ckanext-pages
|
# ckanext-pages
|
||||||
CKANEXT__PAGES__ALOW_HTML=False
|
CKANEXT__PAGES__ALOW_HTML=False
|
||||||
|
|
|
@ -39,7 +39,7 @@ RUN echo ${TZ} > /etc/timezone && \
|
||||||
pip3 install --no-cache-dir -e git+https://github.com/ckan/ckanext-geoview.git@v0.1.0#egg=ckanext-geoview && \
|
pip3 install --no-cache-dir -e git+https://github.com/ckan/ckanext-geoview.git@v0.1.0#egg=ckanext-geoview && \
|
||||||
echo "ckan/ckanext-spatial" && \
|
echo "ckan/ckanext-spatial" && \
|
||||||
pip3 install --no-cache-dir -e git+https://github.com/ckan/ckanext-spatial.git@v2.1.1#egg=ckanext-spatial && \
|
pip3 install --no-cache-dir -e git+https://github.com/ckan/ckanext-spatial.git@v2.1.1#egg=ckanext-spatial && \
|
||||||
pip3 install --no-cache-dir -r ${APP_DIR}/src/ckanext-spatial/requirements.txt && \
|
pip3 install --no-cache-dir -r ${APP_DIR}/req_fixes/ckanext-spatial/requirements.txt && \
|
||||||
echo "mjanez/ckanext-dcat (GeoDCAT-AP extended version)" && \
|
echo "mjanez/ckanext-dcat (GeoDCAT-AP extended version)" && \
|
||||||
pip3 install --no-cache-dir -e git+https://github.com/mjanez/ckanext-dcat.git@v1.8.0-alpha#egg=ckanext-dcat && \
|
pip3 install --no-cache-dir -e git+https://github.com/mjanez/ckanext-dcat.git@v1.8.0-alpha#egg=ckanext-dcat && \
|
||||||
pip3 install --no-cache-dir -r ${APP_DIR}/src/ckanext-dcat/requirements.txt && \
|
pip3 install --no-cache-dir -r ${APP_DIR}/src/ckanext-dcat/requirements.txt && \
|
||||||
|
|
|
@ -15,7 +15,8 @@ ckan config-tool $CKAN_INI \
|
||||||
"schemingdcat.group_custom_facets=$CKANEXT__SCHEMINGDCAT_GROUP_CUSTOM_FACETS" \
|
"schemingdcat.group_custom_facets=$CKANEXT__SCHEMINGDCAT_GROUP_CUSTOM_FACETS" \
|
||||||
"schemingdcat.geometadata_base_uri=$CKANEXT__SCHEMINGDCAT_GEOMETADATA_BASE_URI" \
|
"schemingdcat.geometadata_base_uri=$CKANEXT__SCHEMINGDCAT_GEOMETADATA_BASE_URI" \
|
||||||
"schemingdcat.default_package_item_icon=$CKANEXT__SCHEMINGDCAT_DEFAULT_PACKAGE_ITEM_ICON" \
|
"schemingdcat.default_package_item_icon=$CKANEXT__SCHEMINGDCAT_DEFAULT_PACKAGE_ITEM_ICON" \
|
||||||
"schemingdcat.default_package_item_show_spatial=$CKANEXT__SCHEMINGDCAT_DEFAULT_PACKAGE_ITEM_SHOW_SPATIAL"
|
"schemingdcat.default_package_item_show_spatial=$CKANEXT__SCHEMINGDCAT_DEFAULT_PACKAGE_ITEM_SHOW_SPATIAL" \
|
||||||
|
"schemingdcat.show_metadata_templates_toolbar=$CKANEXT__SCHEMINGDCAT_SHOW_METADATA_TEMPLATES_TOOLBAR"
|
||||||
|
|
||||||
echo "[docker-entrypoint.02_setup_scheming] Rebuild index"
|
echo "[docker-entrypoint.02_setup_scheming] Rebuild index"
|
||||||
ckan -c $CKAN_INI search-index rebuild
|
ckan -c $CKAN_INI search-index rebuild
|
|
@ -7,6 +7,9 @@ cython==0.29.36; python_version < '3.9'
|
||||||
pyproj==2.6.1; python_version < '3.9'
|
pyproj==2.6.1; python_version < '3.9'
|
||||||
pyproj==3.6.1; python_version >= '3.9'
|
pyproj==3.6.1; python_version >= '3.9'
|
||||||
|
|
||||||
Shapely==2.0.1
|
# Compatibility with NumPy 2.0: https://github.com/shapely/shapely/issues/1972
|
||||||
|
numpy>=1.26,<2
|
||||||
|
Shapely==2.0.4
|
||||||
|
|
||||||
OWSLib==0.28.1
|
OWSLib==0.28.1
|
||||||
geojson==3.0.1
|
geojson==3.0.1
|
Loading…
Reference in New Issue