GithubHelp home page GithubHelp logo

ckan_284_vagrant's Introduction

ckan_284_vagrant

A Vagrant based local development setup for CKAN 2.8.4

Local Setup

  1. Clone this repository

  2. Install vagrant, https://www.vagrantup.com/docs/installation/

  3. Install some vagrant extensions, run this on your CLI

     vagrant plugin install vagrant-hostmanager
     vagrant plugin install vagrant-cachier
     vagrant plugin install vagrant-vbguest
    
  4. Install any git submodules:

     git submodule init
     
     git submodule update
    
  5. Launch the Vagrant box:

     cd vagrant
     
     vagrant up
    
  6. SSH into the Vagrant box and launch the CKAN instance:

     vagrant ssh
     
     . /usr/lib/ckan/default/bin/activate
     
     paster serve --reload /etc/ckan/default/development.ini
    
  7. Browse your local CKAN instance:

     http://ckan284.loc:5000
    

Test database

The setup_ckan script imports a CKAN database with some test data setup:

  1. test organisation

  2. test dataset

  3. test users (all p/w: password):

    • admin
    • org_admin
    • org_editor
    • org_member
    • test_user (no affiliations)
  4. test groups

    • Group 1
    • Group 2

Bash aliases

After vagrant ssh you can use the following commands:

serve - stop & start Solr, then serve CKAN

reserve - serve CKAN without stopping & starting Solr.

jobworker - start the CKAN Job Worker.

ckan_284_vagrant's People

Contributors

salsa-nathan avatar

Watchers

 avatar

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.