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

Adding new variables #3

Open
jonathanleek opened this issue Aug 16, 2019 · 4 comments
Open

Adding new variables #3

jonathanleek opened this issue Aug 16, 2019 · 4 comments

Comments

@jonathanleek
Copy link

I've been trying to use this to add new variables in support of some plugins, but have had no luck with the changes actually making it to production.ini when I build the docker image. Below are the variables I've been trying to add.

CKAN___GEOVIEW__OL_VIEWER__FORMATS= wms wfs geojson gml kml arcgis_rest CKAN___SCHEMING__DATASET_SCHEMAS= http://example.comspatialx_schema.json

@DavidLemayian
Copy link

Hey @jonathanleek . Looking at the documentation for geoview, I think the environment variable should begin with CKANEXT__ instead of CKAN__. e.g:

ckanext.s3filestore.aws_bucket_name --> CKANEXT__S3FILESTORE__AWS_BUCKET_NAME

@ghost
Copy link

ghost commented Nov 9, 2020

@DavidLemayian Unfortunately I cannot make the CKANEXT___ prefix work with scheming ext. Also I cannot find any code snippets using scheming together with envvars, Could you please confirm that you have successfully tested the scheming-envvars pair?

@DavidLemayian
Copy link

Hey @cfotnz . Don't have time at the moment to help out on this but maybe someone on the Gitter channel might have? Good luck with debugging.

@b-a0
Copy link

b-a0 commented Jul 11, 2023

For me CKAN___SCHEMING__DATASET_SCHEMAS=ckanext.scheming:your_dataset_schema.yaml ckanext.scheming:another_schema.yaml works. So not CKANEXT___ but CKAN___.

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