ckanext-fair3r
This extension is made to cuztomize fair3r.fr ckan theme and add features
Requirements
Compatibility with core CKAN versions:
| CKAN version | Compatible? |
|---|---|
| 2.11.5 | yes |
Installation
To install ckanext-fair3r:
-
Activate your CKAN virtual environment, for example:
. /usr/lib/ckan/default/bin/activate
-
Clone the source and install it on the virtualenv
git clone git@serv-gitlab.igbmc.u-strasbg.fr:ics/ckanext-fair3r.git cd ckanext-fair3r pip install -e . pip install -r requirements.txt
-
Add
fair3rto theckan.pluginssetting 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
Config settings
exemple:
# The app context (could be DEV, INTEGRATION, VALIDATION, or PRODUCTION)
ckanext.fair3r.context = DEV
# Optional. Directory containing fdf_schema.json and i18n/*.json.
# In DEV Docker this is set automatically from FDF_SCHEMA_LOCAL_PATH
# (mounted local clone of https://github.com/Phen-ICS/fair3r-fdf-schema).
# Leave unset on validation / integration / production (cron downloads GitHub).
# ckanext.fair3r.fdf_schema_dir = /fdf-schema
Developer installation
To install ckanext-fair3r for development, activate your CKAN virtualenv and do:
git clone git@serv-gitlab.igbmc.u-strasbg.fr:ics/ckanext-fair3r.git
cd ckanext-fair3r
python setup.py develop
pip install -r dev-requirements.txt
Fix code formating
ruff format . ruff check . --fix
Tests
docker exec -u ckan -it ckan-app pytest --ckan-ini=/plugins/ckanext-fair3r/test.ini /plugins/ckanext-fair3r/ckanext/fair3r/tests
Release files for ckanext-fair3r 3.1.9
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| ckanext_fair3r-3.1.9.tar.gz | 499.5 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| ckanext_fair3r-3.1.9-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 1.0 MB
Release files / ckanext_fair3r-3.1.9.tar.gz
| Download URL | ckanext_fair3r-3.1.9.tar.gz |
|---|---|
| Size | 499.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
bfde842dac5e06e7af90ff5f251f0baaa5e6f7588fbc285b3478eed15d8465b1
|
|
BLAKE2b-256 checksum How to use checksums |
c37b66f13ff769adc4b82def8f8bc00ad7cd9a0a5e82e4836e4c25be88d1f6bc
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.10.21
|
Release files / ckanext_fair3r-3.1.9-py3-none-any.whl
| Download URL | ckanext_fair3r-3.1.9-py3-none-any.whl |
|---|---|
| Size | 540.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
5549e4937a81d405158ed6fd15ce0186e8842b9213ca4db4d322e802bdbde61f
|
|
BLAKE2b-256 checksum How to use checksums |
045086030207299a9795509aa9f7da5af97ba34d5dcdca34374d5e14ad1bd5ae
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.10.21
|