Skip to content

ua-snap/ckan-puppet-centos

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

60 Commits
 
 
 
 
 
 
 
 

Repository files navigation

ckan-puppet-centos

A Vagrant installation of CKAN using Puppet targeting CentOS 6.6. Heavily derived from Michael Speth's CKAN repository.

How to run

First, clone this repo, then vagrant up inside the cloned repository directory. The provisioning process is lengthy and, depending on the speed of your internet connection, may take longer than 20 minutes. Get coffee! When it's done, a few post-install steps need to happen:

  1. Log into the VM: vagrant ssh
  2. Become root: sudo su -
  3. Activate the Python virtualenv so we can use the admin tools for CKAN: source /usr/lib/ckan/default/bin/activate
  4. Create an admin user: paster --plugin=ckan sysadmin add admin -c /etc/ckan/default/production.ini
  5. Restart web server: service httpd restart
  6. Stop and start the supervisord process, which manages the harvester, to ensure that it has the right configuration (doing a restart on the service doesn't do what we expect here, need to explicitly stop and start): service supervisord stop; service supervisord start
  7. Done! exit and exit and exit.

Once that's done, you can launch CKAN by following directions here if using the system in development mode (default for this repo).

If serving via Apache, you can use these URLs to access CKAN and its resources:

If you get an HTTP 500 error when trying to load CKAN this way, then the system is in debug mode and must be launched via Paster.

About

A Vagrant installation of CKAN using Puppet

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages