ckanext-onesaitplatform
Extension and theme for OnesaitPlatform Data Portal.
Requirements
This extension works with CKAN versions 2.8.X
It is necessary to install and activate these extensions: - ckanext-showcase - ckanext-oauth2
Installation
To install ckanext-onesaitplatform:
-
Activate your CKAN virtual environment, for example:
. /usr/lib/ckan/default/bin/activate
-
Install the ckanext-onesaitplatform Python package into your virtual environment::
pip install ckanext-onesaitplatform
-
Add onesaitplatform to the ckan.plugins setting in your CKAN config file (by default the config file is located at /etc/ckan/default/production.ini).
NOTE: put onesaitplatform before any extension
-
Restart CKAN. For example if you've deployed CKAN with Apache on Ubuntu:
sudo service apache2 reload
Config Settings
Add these properties to the config file (by default the config file is located at /etc/ckan/default/production.ini):
-
To activate js effects:
ckan.template_footer_end = <!-- CKAN onesaitplatform frontend controller --> <script type="text/javascript"> $( window ).on( "load", function() { CKAN_Controller.init(); }) </script> <!-- /CKAN onesaitplatform frontend controller --> -
If ckan is running with a non root_path set this property to true, else set it to false:
ckan.onesaitplatform.login = true
Development Installation
To install ckanext-onesait for development, activate your CKAN virtualenv and do:
git clone https://github.com/onesaitplatform/ckanext-onesaitplatform.git
cd ckanext-onesaitplatform
python setup.py develop
pip install -r dev-requirements.txt
Metadata
Release files for ckanext-onesaitplatform 1.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| ckanext-onesaitplatform-1.0.1.tar.gz | 3.5 MB | Without provenance | Details for ckanext-onesaitplatform-1.0.1.tar.gz |
Release files / ckanext-onesaitplatform-1.0.1.tar.gz
| Download URL | ckanext-onesaitplatform-1.0.1.tar.gz |
|---|---|
| Size | 3.5 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
1a6c730b8c16b2c79907fb7b09026f4c54c77821d8c583eddc56af4f5c52f9b0
|
|
BLAKE2b-256 checksum How to use checksums |
84d5e248b99bd3816a30b5309e0e68b081ef6621d21d4f75716dcc88ffddf951
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.15.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/2.7.18rc1
|
Security for ckanext-onesaitplatform 1.0.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.