Skip to content

KOBman

Overview

KOBman, is a command line utility which gives you a kob command on your shell, you can use it to automate the setup of various development environments required for projects under KochiOrgBook.

Installing KOBman using oah-shell

We will be using oah-installer, a component of OpenAppHack(OAH), to install oah-shell in the local system and using it to bring up oah-kob-vm with KOBman installed.

Pre-requisites

Installation

  1. Open your terminal

  2. Execute the below command to set the correct namespace

    export OAH_NAMESPACE=hyperledgerkochi
    
  3. Install oah-shell

    curl -L https://raw.githubusercontent.com/hyperledgerkochi/oah-installer/master/install.sh | bash
    
  4. Confirm the installation oah-shell by executing the below command which would list various oah commands

    oah
    
  5. Execute the below command to get the list of environments

    oah list
    

    Note: Make sure oah-kob-vm is listed. If not, execute step 2 and run the below command

    source ${OAH_DIR}/bin/oah-init
    
  6. Setup oah-kob-vm for KOBman by executing the below command.

    oah install -v oah-kob-vm
    

Testing

  1. Install an environment

    kob install -env [environment_name] -V [version]
    

    Run the below command to get the list of available enviornments

    kob list
    
  2. Uninstall an environment

    kob uninstall -env [environment_name] -V [version]
    



Check out the demo video





Source Code