CKAN resource preview based on Graphic Walker.
Python 3.10+
| CKAN version | Compatible? |
|---|---|
| 2.9 and earlier | no |
| 2.10 | yes |
| 2.11 | yes |
To install ckanext-graphic-walker:
-
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/DataShades/ckanext-graphic-walker.git cd ckanext-graphic-walker pip install -e .
-
Add
graphic_walker_viewto theckan.pluginsandckan.views.default_viewssetting in your CKAN config file (by default the config file is located at/etc/ckan/default/ckan.ini). -
Restart CKAN. For example if you've deployed CKAN with Apache on Ubuntu:
sudo service apache2 reload
See the config declaration file.
To run the tests, do:
pytest --ckan-ini=test.iniThe Graphic Walker is a separate React application. You can run it separately:
cd react-graphic-walker
npm install
npm run devAnd build it after changes:
npm run build