Easy CKAN: Easiest way to install CKAN

CKAN is the world’s leading open-source data portal platform. CKAN makes it easy to publish, share and work with data. It’s a data management system that provides a powerful platform for cataloging, storing and accessing datasets with a rich front-end, full API (for both data and catalog), visualization tools and more.

What’s Easy CKAN?

The CKAN installation is too hard and need many configurations. So I decide to create a script to make the CKAN installation very easy.

To install, just copy the line below and paste on terminal. And that’s it!

If you want to check the lastest modifications, go to GitHub repository:
https://github.com/thenets/Easy-CKAN

 

Common installation (stable and recommended)

1. Compatibility

I’ll improve the CKAN interface and give a lot of options, like install others CKAN versions and optional plugins.

Requirements:

  • Ubuntu 14.04 or Ubuntu 16.04

Versions:

  • CKAN 2.5.2
  • [Plugin] DataStore (from CKAN 2.5.2)
  • [Plugin] Harvest 0.5

 

2. Installation

Just copy the line below, run on your Ubuntu server and follow the instructions:

sudo su -c "apt-get update && apt-get upgrade -y"
sudo su -c "apt-get install git-core"
sudo su -c "cd /tmp && rm -rf ./Easy-CKAN && git clone https://github.com/thenets/Easy-CKAN.git && cd ./Easy-CKAN && ./easy_ckan.sh"
sudo su -c "easyckan install"

 

3. How to use (Easy CKAN command line)

The Easy CKAN command line is the best way to interact with your CKAN installation.

3.1. Start server – Development Mode

Run the server on development enviroment:

# Development enviroment
sudo easyckan server # Avaliable over port 5000

 

3.2. Deploy – Production Mode

After develop everything you want, just run the following command to deploy your CKAN to production:

# Production enviroment
sudo easyckan deploy # Avaliable over port 80

 

Questions?

If you have any questions, just leave the comments below. I’ll try to help you as best I can. ^^

 

References

How to install CKAN 2.0 on CentOS 6.3 (new) – CKAN GitHub Repository
https://github.com/ckan/ckan/wiki/How-to-install-CKAN-2.0-on-CentOS-6.3-(new)

How To Install Solr on Ubuntu 14.04 – DigitalOcean
https://www.digitalocean.com/community/tutorials/how-to-install-solr-on-ubuntu-14-04

Install CKAN from source – CKAN 2.6.0a documentation
http://docs.ckan.org/en/latest/maintaining/installing/install-from-source.html