Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

demo_content does not honor chosen domain name #331

Closed
ctgraham opened this issue Mar 24, 2023 · 2 comments
Closed

demo_content does not honor chosen domain name #331

ctgraham opened this issue Mar 24, 2023 · 2 comments

Comments

@ctgraham
Copy link
Contributor

The demo_content subcommand does not utilize the DOMAIN variable if edited from the default of "islandora.traefik.me".

Steps to reproduce:

sed -i "s/^DOMAIN=islandora.traefik.me/DOMAIN=$HOSTNAME/" sample.env
make demo

Error message:

...
cd islandora_workbench && docker run -it --rm --network="host" -v "/opt/isle-dc"/islandora_workbench:/workbench --name my-running-workbench workbench-docker bash -lc "./workbench --config /workbench/islandora_workbench_demo_content/example_content.yml"
Error: Content type islandora_object does not exist on https://islandora.traefik.me.

make[1]: *** [Makefile:478: demo_content] Error 1
make[1]: Leaving directory '/opt/isle-dc'
make: *** [Makefile:133: demo] Error 2

Proposed resolution:
sed the "host" value in islandora_workbench/islandora_workbench_demo_content/example_content.yml.

@DonRichards
Copy link
Member

PR #334

@joecorall
Copy link
Contributor

#334 merged so closing this issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants