Skip to content

Commit

Permalink
Installed and configured extension ckanext-officedocs
Browse files Browse the repository at this point in the history
  • Loading branch information
MarkCalvert committed Feb 1, 2024
1 parent 40500ba commit 57c8ed2
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 4 deletions.
5 changes: 4 additions & 1 deletion .env.dbca
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,10 @@ USE_HTTPS_FOR_DEV=false
# CKAN core
CKAN_VERSION=2.10.0
CKAN_SITE_ID=default
CKAN_SITE_URL=http://localhost:5000
# CKAN Dev
CKAN_SITE_URL=http://localhost:$CKAN_PORT_HOST
# CKAN Nginx
#CKAN_SITE_URL=https://localhost:$NGINX_SSLPORT_HOST
CKAN_PORT=5000

CKAN___BEAKER__SESSION__SECRET=CHANGE_ME
Expand Down
4 changes: 2 additions & 2 deletions ckan/config/dbca.ini
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@ use = config:/srv/app/ckan.ini
ckan.devserver.watch_patterns = /srv/app/ckan.ini

## Plugins Settings ############################################################
ckan.plugins = dbca image_view text_view datatables_view pdf_view datastore xloader pages showcase hierarchy_display hierarchy_form hierarchy_group_form dcat scheming_datasets spatial_metadata spatial_query doi qa archiver report resource_proxy geo_view shp_view envvars
ckan.plugins = dbca image_view text_view datatables_view pdf_view datastore xloader pages showcase hierarchy_display hierarchy_form hierarchy_group_form dcat scheming_datasets spatial_metadata spatial_query doi qa archiver report resource_proxy geo_view shp_view officedocs_view envvars

## Resource Views Settings #####################################################
ckan.views.default_views = text_view datatables_view pdf_view geo_view shp_view
ckan.views.default_views = text_view datatables_view pdf_view geo_view shp_view officedocs_view

## Internationalisation Settings ###############################################
ckan.locale_default = en_AU
Expand Down
3 changes: 3 additions & 0 deletions ckan/setup/dbca_requirements.sh
Original file line number Diff line number Diff line change
Expand Up @@ -72,3 +72,6 @@ rm /tmp/qsv.zip
apk add file
pip3 install -e git+https://github.com/dbca-wa/ckanext-qa.git@develop#egg=ckanext-qa
pip3 install -r ${SRC_DIR}/ckanext-qa/requirements.txt

# Office Docs
pip3 install -e git+https://github.com/dbca-wa/ckanext-officedocs.git@develop#egg=ckanext-officedocs
2 changes: 1 addition & 1 deletion src/dbca_install_extensions.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,6 @@ git clone https://github.com/dbca-wa/ckanext-qa.git
#These extensions will be installed by default, but we don't want them
sed -i".$(date +%Y%m%d_%H%M%S).bak" -e '/ckanext-report/d' -e '/ckanext-archiver/d' ckanext-qa/dev-requirements.txt
# Office Docs
# git clone https://github.com/dbca-wa/ckanext-officedocs
git clone https://github.com/dbca-wa/ckanext-officedocs.git

echo "Ready to build project: ahoy build"

0 comments on commit 57c8ed2

Please sign in to comment.