Skip to content

Getting started

Sooyoung Kim edited this page Dec 19, 2022 · 8 revisions

Preparation

Dependencies

Clone

$ git clone https://github.com/cloud-barista/cb-ladybug.git
$ cd cb-ladybug
$ go get -v all

Run

$ export CBLOG_ROOT="$(pwd)"
$ export CBSTORE_ROOT="$(pwd)"
$ go run src/main.go

Build and Execute

$ go build -o cb-ladybug src/main.go
$ export CBLOG_ROOT="$(pwd)"
$ export CBSTORE_ROOT="$(pwd)"
$ nohup ./cb-ladybug & > /dev/null

Verify

$ curl -s  http://localhost:1470/ladybug/healthy -o /dev/null -w "code:%{http_code}"

code:200