-
Notifications
You must be signed in to change notification settings - Fork 0
Installation
This page explains how to install StyleGranada into CKAN.
-
To install ckanext-styleGranada in a set of Docker images and configuration files to run a CKAN site (https://github.com/okfn/docker-ckan):
-
Go to Dockerfile in ckan folder
/ckan/Dockerfile
and add:RUN pip install -e git+https://github.com/urbanplatform/ckan-custom-styling.git@master#egg=ckanext-styleGranada
-
Add the plugin
styleGranada
to theckan.plugins
setting in your CKAN config file -
Rerun or Restart CKAN container::
docker container start/restart <name_of_ckan_container>
-
-
To install ckanext-styleGranada on local CKAN project:
-
Activate your CKAN virtual environment, for example::
. /usr/lib/ckan/default/bin/activate
-
Install the ckanext-styleGranada Python package into your virtual environment::
pip install ckanext-styleGranada
-
Add
styleGranada
to theckan.plugins
setting in your CKAN config file (by default the config file is located at/etc/ckan/default/production.ini
). -
Restart CKAN. For example if you've deployed CKAN with Apache on Ubuntu::
sudo service apache2 reload
-