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
-
Install via pip:
pip install ckanext-fair3r pip install -r requirements.txt
Or, to install from source:
git clone 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.10
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.10.tar.gz | 499.6 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| ckanext_fair3r-3.1.10-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 1.0 MB
Release files / ckanext_fair3r-3.1.10.tar.gz
| Download URL | ckanext_fair3r-3.1.10.tar.gz |
|---|---|
| Size | 499.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
8b6f47cbcea520bca9f2e8c0d65f3bb71b2fb134c21ae4abb36ddce4b03f0d68
|
|
BLAKE2b-256 checksum How to use checksums |
b4db0c7bb1fcffda81c4603ef564408eeb361feb529e8543708f58b071818533
|
| 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.10-py3-none-any.whl
| Download URL | ckanext_fair3r-3.1.10-py3-none-any.whl |
|---|---|
| Size | 540.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
93171b3034e33a3384991a6b7284b42669b00c19ff77e6477f7dcefc2cbf43c1
|
|
BLAKE2b-256 checksum How to use checksums |
5bb84fe02c6338461e970c1eb86f1744fa74ad50e3e24c3f87f6903590aa2d45
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.10.21
|