|
|
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 <url-of-this-repository>
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.19
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.19.tar.gz | 504.6 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| ckanext_fair3r-3.1.19-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 1.1 MB
Release files / ckanext_fair3r-3.1.19.tar.gz
| Download URL | ckanext_fair3r-3.1.19.tar.gz |
|---|---|
| Size | 504.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f18327baff50a8e13607c624188dfbc584844766a978c9366b586fe766c422fe
|
|
BLAKE2b-256 checksum How to use checksums |
302d033c222890f1882a52ebf5e31607e01268195406c1448fca53a86661279f
|
| 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.19-py3-none-any.whl
| Download URL | ckanext_fair3r-3.1.19-py3-none-any.whl |
|---|---|
| Size | 546.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
60927b26522e9dc45ed2201118e6d91ee3fb3ee88602433b49a882827fb917d0
|
|
BLAKE2b-256 checksum How to use checksums |
50c825f10283763e82d01013c8d8bc450bc97f49974bd83097664174d50f154c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.10.21
|