Easiest way to install the CKAN platform.
-
CKAN 2.5.2
-
Plugins
-
Easy CKAN command line (NEW!)
Your server / virtual machine must meet the following requirements:
- Ubuntu 14.04 (beta) or Ubuntu 16.04 (alpha is not recommended)
- Nothing running over ports: 8080, 8888, 8800, 80, 5000
- No Apache2 or NGINX previously installed
It is generally better to have a completely clean install of Ubuntu to work from.
Run the following commands on your server / virtual machine:
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"
The Easy CKAN command line is the best way to interact with your CKAN installation.
To run the server in a development enviroment, run:
# Development enviroment
sudo easyckan server # Avaliable over port 5000
Once you have finished development and are ready to push your changes into a production environment, run:
# Production enviroment
sudo easyckan deploy # Avaliable over port 80
If you have any questions, either raise an issue here on GitHub or send me an email: [email protected]
Some of these features not completed yet. Use with caution.
# Plugins
# ================================================================
easyckan plugin install {PLUGIN_NAME}
- harvest
- datastore
- scheming
# Example: easyckan plugin install harvest
# DataPusher (from https://github.com/ckan/datapusher )
# ================================================================
easyckan plugin datapusher {COMMAND}
- update
Update all files on DataStore.
# Example: easyckan plugin datapusher update
# Harvest (from https://github.com/ckan/ckanext-harvest )
#
# You can check all usage documentation official plugin page.
# ================================================================
easyckan plugin harvest {COMMAND}
- harvester source {name} {url} {type} [{title}] [{active}] [{owner_org}] [{frequency}] [{config}]
- harvester source {source-id/name}
- harvester rmsource {source-id/name}
- harvester clearsource {source-id/name}
- harvester sources [all]
- harvester job {source-id/name}
- harvester jobs
- harvester job_abort {source-id/name}
- harvester run
- harvester run_test {source-id/name}
- harvester gather_consumer
- harvester fetch_consumer
- harvester purge_queues
- harvester job-all
- harvester reindex
I want to add some additional improvements:
- Feature: Uninstaller
- Feature: More plugins
- Feature: Bash interface for new plugin installations
- Improvement: Better bash interface
- @mohnjatthews : Improved README documentation
- @vladimirghetau : New plugins installers
If you want the lastest Easy CKAN version, use following lines to your installation. !IMPORTANT! This version will most likely contain bugs, so use at your own risk.
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 -b dev https://github.com/thenets/Easy-CKAN.git && cd ./Easy-CKAN && ./easy_ckan.sh"
sudo su -c "easyckan install"
To update the Easy CKAN command line tools with the DEV version, just run:
sudo easyckan update dev