Skip to content

Latest commit

 

History

158 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ckanext-yukon

This extension is a CKAN extension that provides a new design for the Yukon project.

Deployment

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.

Installation

  1. Install the project using CKAN dependency manager:

    make prepare
    make install
  2. Link all files from config/ folder to the directory with CKAN configuration

    ln -s $PWD/config/* /etc/ckan/default/
  3. Create default.ini which will be included into project.ini file linked in the previous step:

    ckan generate config /etc/ckan/default/default.ini
  4. Create ckan.ini

    ckan generate config /etc/ckan/default/ckan.ini
  5. Copy and adapt all environment specific options (block Environment settings) from the project.ini into ckan.ini. Additionally, make sure ckan.ini extends project.ini:

    [app:main]
    use = config:project.ini
    # ...
  6. Apply DB migrations:

    ckan db upgrade

Config settings

...

Developer installation

To install ckanext-yukon for development perform all steps from the normal installation and additionally run pip install -e '.[dev]' from the extension root.

Tests

To run unit-tests, do:

pytest

The 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-server

and then run tests:

pytest -m playwright

Project documentation

Install project for development and run the following command to start documentation app on http://localhost:8000:

make serve-docs

License

AGPL

About

YG Open Government CKAN codebase as maintained by the LinkDigital hosting provider.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages