feat: ✨ Initialize DOI database in entrypoint script
Add DOI database initialization command to the CKAN entrypoint script. This ensures the DOI database is set up correctly during container start-up.
This commit is contained in:
parent
0ee1472465
commit
0294a9a194
|
@ -83,6 +83,10 @@ ckan config-tool $CKAN_INI \
|
|||
"ckanext.pages.group_menu=$CKANEXT__PAGES__GROUP_MENU" \
|
||||
"ckanext.pages.organization_menu=$CKANEXT__PAGES__ORGANIZATION_MENU"
|
||||
|
||||
# ckanext-pages: Add pages CKAN config file
|
||||
echo "[docker-entrypoint.01_setup_ckanext_config] Initialization DOI database"
|
||||
ckan -c $CKAN_INI doi initdb
|
||||
|
||||
# Rebuild index
|
||||
echo "[docker-entrypoint.01_setup_ckanext_config] Rebuild index"
|
||||
ckan -c $CKAN_INI search-index rebuild
|
||||
ckan -c $CKAN_INI search-index rebuild
|
||||
|
|
Loading…
Reference in New Issue