Giter VIP home page Giter VIP logo

ckan-dev's Introduction

CKAN Dev Environment

The aim of this repository is to allow to setup a CKAN local development environment rapidly and also be able to reuse the ansible configuration scripts to provision a remote development environment or possibly a production instance.

Prerequisite

  • Vagrant 1.6.3+
  • Ansible 1.7+

To install the development environment run (this is only tested on OSX but should work on Linux).

  • git clone https://github.com/iilab/ckan-dev.git
  • cd ckan-dev
  • vagrant up (The provisioning will take a long time as it is building couch from source currently.)
    • Might have to download the ffuenf/debian-7.7.0-amd64 box like so:
vagrant box add ffuenf/debian-7.7.0-amd64 https://googledrive.com/host/0B83ZToJ3fGtDVC1DeVVzc3lkc0U/debian-7.7.0-amd64_virtualbox.box
  • (vagrant provision) Only necessary if you modify the playbook or need to provisioning an existing and running vagrant VM.

You should be able to access CKAN at http://192.168.33.50

Maintenance

You can run maintenance commands with ./paster.sh for instance to make someuser a sysadmin

./paster.sh  --plugin=ckan sysadmin -c /etc/ckan/default/ckan.ini add someuser

ToDO

This should allow to develop directly in a directory of the developer's computer and be able to execute basic maintenance tasks from outside the vagrant box.

ckan-dev's People

Contributors

jmatsushita avatar

Watchers

 avatar  avatar  avatar

ckan-dev's Issues

Can't register

Running on port 8080 is causing problems with the default CKAN site_url. Tried a few ways to change the site_url in the ckan.ini generated by the docker image.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.