This ckan installation has been used for data portal functionality that has been ended. The software has not been updated for security patches since, so dont use it for a new installation. For archiving purposes it remains accessible as read-only.
Create a working docker installation, see https://www.digitalocean.com/community/tutorials/how-to-install-and-use-docker-on-ubuntu-16-04
Run the install script in this directory (install.sh), which contains these steps:
- Install python, jinja2, graphviz
sudo apt-get install python-jinja2 graphviz
sudo apt-get install postgresql-client python-psycopg2
sudo pip install ckanapi
sudo mkdir /data /src
sudo chown www-data.www-data /data /src
- Put passfile in repository's top directory.
- Set environment by running 'source config' or '. config'.
- Build docker-images by running
./build_containersin the directory containers - Start postgres and solr containers with
./runin psql/solr directories. - Create databasestructures by executing
./cleandbscript in ckan directory. - Start ckan container with
./runscript in ckan directory. - CKAN-site should be up on http://127.0.0.1