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
-
Open your terminal
-
Execute the below command to set the correct namespace
export OAH_NAMESPACE=hyperledgerkochi
-
Install oah-shell
curl -L https://raw.githubusercontent.com/hyperledgerkochi/oah-installer/master/install.sh | bash
-
Confirm the installation oah-shell by executing the below command which would list various oah commands
oah
-
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
-
Setup oah-kob-vm for KOBman by executing the below command.
oah install -v oah-kob-vm
Testing
-
Install an environment
kob install -env [environment_name] -V [version]
Run the below command to get the list of available enviornments
kob list
-
Uninstall an environment
kob uninstall -env [environment_name] -V [version]
Check out the demo video