Skip to content

Latest commit

 

History

History
93 lines (66 loc) · 3.14 KB

README.md

File metadata and controls

93 lines (66 loc) · 3.14 KB

CB-Ladybug

Multi-Cloud Application Runtime Management Framework

Go Report Card Build Top Language GitHub go.mod Go version Repo Size GoDoc Release Version License

[NOTE]
CB-Ladybug is currently under development. (The latest version is v0.7.0 (Cortado))
So, we do not recommend using the current release in production.
Please note that the functionalities of CB-Ladybug are not stable and secure yet.
If you have any difficulties in using CB-Ladybug, please let us know.
(Open an issue or Join the cloud-barista Slack)

Getting started

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)"
$ export APP_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)"
$ export APP_ROOT="$(pwd)"
$ nohup ./cb-ladybug & > /dev/null

Test

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

code:200

API documentation

  • Execute or Run
  • Generate an updated swagger.yaml
$ go install github.com/swaggo/swag/cmd/swag@latest

# in src/ folder
$ swag init

Documents

Contribution

Learn how to start contribution on the Contributing Guideline and Style Guideline