Install via pip:
git clone https://github.com/DataShades/ckanext-example_static.git
cd ckanext-example_static
pip install -e .
pip install -r requirements.txt
Enable the plugin:
ckan.plugins = example_static
Configuration:
No configuration required by default (template extension).
Developer installation:
git clone https://github.com/DataShades/ckanext-example_static.git
cd ckanext-example_static
python setup.py develop
pip install -r dev-requirements.txt
Testing:
pytest –ckan-ini=test.ini
Use case:
- Template for extensions needing static files
- Example of static asset serving in CKAN
- Learning resource for extension development
NOTE: This is a template/example extension.
Customization required before production use.