Skip to content
This repository has been archived by the owner on Nov 11, 2021. It is now read-only.

AdaptiveApplications/ckan-vagrant

Repository files navigation

SciamLab standard ckan-vagrant

This is the vagrant setup and provisioning for a full fledged CKAN 2.7.3 or 2.8.0 setup on VirtualBox standard Ubuntu 16.xx LTS (Xenial) using recent software packages like PostgreSQL 10, PostGIS 2.4.4, SOLR 7.3.0 and many other goodies. The CKAN setup is finally deployed on an Apache2 using mod_wsgi.

This project is keept regurarly updated with recent CKAN version and related packages and tooling so that you can ramp-up quickly your dev environt without the hassle of resolving installation conflicts that tipically arise when playing with new stuff

With the CKAN setup are also bootstrapped and configured the following CKAN extensions and plugins:

Quickstart

  1. Prerequisites

    The setup has been tested with recent version of Vagrant (2.0.2 e 2.0.3) please ensure your Virtualbox version is a supported one by Vagrant. These include the recent 5.1 version but not yet the latest 5.2. In case you want use VirtualBox 5.2 with Vagrant you can add support for it following this hotfix

  2. Clone this repo

    $ git clone https://github.com/AdaptiveApplications/ckan-vagrant.git
    $ cd ckan-vagrant
  3. Create the running VM

    Configure in your Vagrantfile wich version to configure simply setting the bootstrap_273.sh or bootstrap_280.sh provisioning script and then launch the VM creation simply with the below:

    $ vagrant up

    In case your host environment doesn't have a network adapter named eth1 the vagrant will ask you to choose one from those available. You can choose either Ethernet or WiFI devices

Setup Details

additional notes on SOLR

SOLR require few configuration adaptations to work in conjunction with CKAN who still relay on old configuration parameters. The key deprecated configuration has been moved from the schema.xml file to a more fine grained configuration in the solrconfig. Further details are available inspecting the bootstrap_xxx.sh provisioning scripts

What's next

You may want configure email notification from your CKAN setup. In such case you can install an email server like postfix and then follow the instruction on the standard CKAN documentation

Questions, Issues ?

features Feel free to contact us or create a new issue on this repository. We'll do our best to try and help! If you want additional tools and packages are added and maintained updated here just add an issue for it !

License

Apache License Version 2.0. See LICENSE for more details

How to add admin user to ckan site

To make admin user:

	cd ckan-vagrant
	vagrant ssh
 	cd sciamlab-ckan/src/ckan
 	 . /usr/lib/ckan/bin/activate
  	paster help
	paster sysadmin add <user> -c /etc/ckan/production.ini 

(prompts)

	y
	<your email>
	<password — at least 8 characters>
 	<password>

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published