This theme was created for the UM-Biostat Faculty CKAN instance. It mostly updates the featured image and changes colors to UM branded ones.
TODO: For example, you might want to mention here which versions of CKAN this extension works with.
If your extension works across different versions you can add the following table:
Compatibility with core CKAN versions:
CKAN version | Compatible? |
---|---|
2.10 and earlier | not tested |
2.11.1 | yes |
To install ckanext-um_biostat_theme:
-
Activate your CKAN virtual environment, for example:
. /usr/lib/ckan/default/bin/activate
-
Clone the source and install it on the virtualenv
git clone https://github.com/umich-biostatistics/ckanext-um_biostat_theme.git cd ckanext-um_biostat_theme pip install -e . pip install -r requirements.txt
-
Add
um_biostat_theme
to theckan.plugins
setting in your CKAN -
Restart CKAN.
None at present
To install ckanext-um_biostat_theme for development, activate your CKAN virtualenv and do:
git clone https://github.com/umich-biostatistics/ckanext-um_biostat_theme.git
cd ckanext-um_biostat_theme
pip install -e .
pip install -r dev-requirements.txt
To run the tests, do:
pytest --ckan-ini=test.ini