Skip to content
CKAN extension for OpenData.cz extended Dataset and Resource attributes
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
ckanext
README.md
setup.py

README.md

ckanext-odczdataset

CKAN extension for OpenData.cz extended Dataset and Resource attributes

Extension installation into CKAN in Docker container

  1. switch user to root
$ sudo su
  1. go to CKAN's docker-compose directory
$ cd <CKAN-HOST-DIRECTORY>/contrib/docker
  1. get into running ckan docker container
$ docker exec -it ckan /bin/bash -c "export TERM=xterm; exec bash"
  1. activate the virtualenv
ckan@<-ckandocker->$ source $CKAN_VENV/bin/activate && cd $CKAN_VENV/src/
  1. clone and install this extension via pip
(venv)ckan@<-ckandocker->$ pip install -e "git+https://github.com/jakubklimek/ckanext-odczdataset#egg=ckanext-odczdataset"
  1. enable extension by adding <SPACE>dataset_odczdataset into ckan.plugins line in /etc/ckan/production.ini
(venv)ckan@<-ckandocker->$ vim /etc/ckan/production.ini
...
ckan.plugins = <---YOUR PLUGINS---> dataset_odczdataset
...
  1. exit ckan docker container
(venv)ckan@<-ckandocker->$ exit
  1. restart ckan docker container
$ docker-compose restart ckan
  1. check logs, if there is no error
$ docker-compose logs ckan
  1. exit root su
$ exit
You can’t perform that action at this time.