Extension Cdstheme


Extension Basics

Title
Cdstheme
Name
ckanext-cdstheme
Type
Public extension
Description
Custom theme for Comune di Sona CKAN's portal
CKAN versions
Download-Url (zip)
Last commit
3 years ago (2022-06-06 22:57:18)
Url to repo
Category
Regional Government Themes


Background Infos

Description (long)
Show details

Tests

ckanext-cdstheme

CKAN’s theme for Comune di Sona.

Requirements

If your extension works across different versions you can add the following table:

Compatibility with core CKAN versions:

CKAN version Compatible?
2.6 and earlier not tested
2.7 not tested
2.8 not tested
2.9 yes

Installation

To install ckanext-cdstheme:

  1. Activate your CKAN virtual environment, for example:

    . /usr/lib/ckan/default/bin/activate

  2. Clone the source and install it on the virtualenv

    git clone https://github.com/luca-martinelli-09/ckanext-cdstheme.git cd ckanext-cdstheme pip install -e . pip install -r requirements.txt

  3. Add cdstheme to the ckan.plugins setting in your CKAN config file (by default the config file is located at /etc/ckan/default/ckan.ini).

  4. Restart CKAN. For example if you’ve deployed CKAN with Apache on Ubuntu:

    sudo service apache2 reload

Developer installation

To install ckanext-cdstheme for development, activate your CKAN virtualenv and do:

git clone https://github.com/luca-martinelli-09/ckanext-cdstheme.git
cd ckanext-cdstheme
python setup.py develop
pip install -r dev-requirements.txt

Tests

To run the tests, do:

pytest --ckan-ini=test.ini

Releasing a new version of ckanext-cdstheme

If ckanext-cdstheme should be available on PyPI you can follow these steps to publish a new version:

  1. Update the version number in the setup.py file. See PEP 440 for how to choose version numbers.

  2. Make sure you have the latest version of necessary packages:

    pip install –upgrade setuptools wheel twine

  3. Create a sou

Version
Version release date
(not set)
Contact name
Luca Martinelli
Contakt email
Contact Url
(not set)


Installation Guide

Configuration hints

To install ckanext-cdstheme:

  1. Activate your CKAN virtual environment, for example:

    . /usr/lib/ckan/default/bin/activate

  2. Clone the source and install it on the virtualenv

    git clone https://github.com/luca-martinelli-09/ckanext-cdstheme.git cd ckanext-cdstheme pip install -e . pip install -r requirements.txt

  3. Add cdstheme to the ckan.plugins setting in your CKAN config file (by default the config file is located at /etc/ckan/default/ckan.ini).

  4. Restart

Plugins to configure (ckan.ini)
cdstheme
CKAN Settings (ckan.ini)
DB migration to be executed
(not set)
<< back to Extensions