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

setup/start_ckan_development.sh.override is outdated #129

Open
roll opened this issue Apr 19, 2024 · 4 comments
Open

setup/start_ckan_development.sh.override is outdated #129

roll opened this issue Apr 19, 2024 · 4 comments
Assignees

Comments

@roll
Copy link

roll commented Apr 19, 2024

Overview

The working version is https://github.com/ckan/ckan-docker-base/blob/main/ckan-2.10/dev/setup/start_ckan_development.sh

@kowh-ai kowh-ai self-assigned this Apr 22, 2024
@wardi
Copy link
Contributor

wardi commented Apr 22, 2024

Maybe better to delete the file from this repo instead of copying the latest again?

@kowh-ai
Copy link
Contributor

kowh-ai commented Apr 22, 2024

Yes it may be best to delete these (*.override files in this repo) and add instructions to the README how/when to copy files from the ckan-docker-base so that they are overidden from within the ckan-docker repo...

@wardi
Copy link
Contributor

wardi commented Apr 22, 2024

I found this README instruction/example a little confusing because you also have to remember to change your Dockerfile. Why not make it automatic if we have a special directory for it?

@roll
Copy link
Author

roll commented Apr 23, 2024

Thanks a lot for looking at it!

My 5 cents about DX as I just worked on an extension using ckan-docker:

  • the most stupid mistake I made was changing CKAN_SITE_URL to https://ckan:5000 -- it took a few hours to figure out why I was getting bad request errors from flask. It might make sense to remove https from defaults or add a note
  • you need to change datapusher callback urls to http://ckan-dev:... -- not really easy to figure out without at least some ckan/compose knowledge
  • I also sent a PR to support pyproject.toml - Support dev extensions with "pyproject.toml" ckan-docker-base#48

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