This extension is a CKAN extension that provides a new design for the Yukon project.
To deploy this extension, you need to have a CKAN instance running. You can follow the official documentation to install CKAN.
Additional information can be found in the Deployment documentation.
-
Install the project using CKAN dependency manager:
make prepare make install
-
Link all files from
config/folder to the directory with CKAN configurationln -s $PWD/config/* /etc/ckan/default/
-
Create
default.iniwhich will be included intoproject.inifile linked in the previous step:ckan generate config /etc/ckan/default/default.ini
-
Create
ckan.inickan generate config /etc/ckan/default/ckan.ini
-
Copy and adapt all environment specific options (block
Environment settings) from theproject.iniintockan.ini. Additionally, make sureckan.iniextendsproject.ini:[app:main] use = config:project.ini # ...
-
Apply DB migrations:
ckan db upgrade
...
To install ckanext-yukon for development perform all steps from the normal
installation and additionally run pip install -e '.[dev]' from the extension
root.
To run unit-tests, do:
pytestThe codebase also contains e2e tests, that are excluded from the test collection by default. To run them, first start the test application in a separate terminal session:
make test-serverand then run tests:
pytest -m playwrightInstall project for development and run the following command to start
documentation app on http://localhost:8000:
make serve-docs