CKAN is an open-source DMS (data management system) for powering data hubs and data portals. CKAN makes it easy to publish, share and use data. It powers catalog.data.gov, open.canada.ca/data, data.humdata.org among many other sites.
The new design is taking shape nicely (the preview site needs to be updated but will have the new theme soon) and it's time to start bringing it over to the current master branch.
There is a mechanism in environment.py to switch the base public and template folders, and for now we can just reuse that. We just need to add the new allowed values:
Then we need to copy the public and templates folders of the new theme next to the current ones with a different name, eg:
ckan/
public
public-{suffix}
templates
templates-{suffix}
The -{suffix} folder should contain the new theme for now. When it's ready to go we will switch and make it the default but for now, to use it you will have to set these config options:
Now for the hard part, the name to replace -{suffix} :) Let's not call it "new", "v2", "3.0" or anything that will eventually get outdated, just a code name. Maybe something related to the color like cobalt, blue jay, ocean or whatever.
So the first pull request should include:
The changes in environment.py above
The new templates-{suffix} and public-{suffix} folders
Whatever initial changes you think make sense to get an initial feeling and validate that the assets are loading fine etc. Can be the homepage, just the header/footer, etc
After that we can move forward with PRs that focus on pages, functionalities etc.
The new design is taking shape nicely (the preview site needs to be updated but will have the new theme soon) and it's time to start bringing it over to the current master branch.
There is a mechanism in
environment.py
to switch the base public and template folders, and for now we can just reuse that. We just need to add the new allowed values:Then we need to copy the
public
andtemplates
folders of the new theme next to the current ones with a different name, eg:The
-{suffix}
folder should contain the new theme for now. When it's ready to go we will switch and make it the default but for now, to use it you will have to set these config options:Now for the hard part, the name to replace
-{suffix}
:) Let's not call it "new", "v2", "3.0" or anything that will eventually get outdated, just a code name. Maybe something related to the color like cobalt, blue jay, ocean or whatever.So the first pull request should include:
After that we can move forward with PRs that focus on pages, functionalities etc.
Does this make sense @aleeexgreeen ?