diff --git a/.env.dbca b/.env.dbca index 3605c55f..10d77393 100644 --- a/.env.dbca +++ b/.env.dbca @@ -74,7 +74,8 @@ NGINX_PORT=80 NGINX_SSLPORT=443 # Extensions -CKAN__PLUGINS="envvars image_view text_view datatables_view pdf_view datastore xloader pages showcase hierarchy_display hierarchy_form hierarchy_group_form dcat" +CKAN__PLUGINS="image_view text_view datatables_view pdf_view datastore xloader pages showcase hierarchy_display hierarchy_form hierarchy_group_form dcat envvars" +CKAN__VIEWS__DEFAULT_VIEWS="text_view datatables_view pdf_view" CKAN__HARVEST__MQ__TYPE=redis CKAN__HARVEST__MQ__HOSTNAME=redis CKAN__HARVEST__MQ__PORT=6379 diff --git a/ckan/setup/dbca_requirements.sh b/ckan/setup/dbca_requirements.sh index b93b8f97..9ffcbe63 100644 --- a/ckan/setup/dbca_requirements.sh +++ b/ckan/setup/dbca_requirements.sh @@ -20,6 +20,9 @@ pip3 install -r ${SRC_DIR}/ckanext-hierarchy/requirements.txt # Pages pip3 install -e git+https://github.com/ckan/ckanext-pages.git@v0.5.2#egg=ckanext-pages +# PDF View +pip3 install -e git+https://github.com/ckan/ckanext-pdfview.git@0.0.8#egg=ckanext-pdfview + # Report pip3 install -e git+http://github.com/ckan/ckanext-report.git@master#egg=ckanext-report pip3 install -r ${SRC_DIR}/ckanext-report/requirements.txt diff --git a/src/dbca_install_extensions.sh b/src/dbca_install_extensions.sh index 34bfddaf..3538b477 100644 --- a/src/dbca_install_extensions.sh +++ b/src/dbca_install_extensions.sh @@ -14,21 +14,6 @@ cd src/ # Office Docs # git clone https://github.com/dbca-wa/ckanext-officedocs -# Added ckanext-pages. -git clone https://github.com/ckan/ckanext-pages.git - -# Added ckanext-showcase. -git clone https://github.com/ckan/ckanext-showcase.git - -# Added ckanext-hierarchy. -git clone https://github.com/ckan/ckanext-hierarchy.git - -# Added ckanext-pdfview. -git clone https://github.com/ckan/ckanext-pdfview.git - -# Added ckanext-dcat. -git clone https://github.com/ckan/ckanext-dcat.git - ## Should have ## # Geopusher # git clone https://github.com/dbca-wa/ckanext-geopusher.git