cloud-barista / cb-ladybug

Cloud-Barista Multi-Cloud Application Runtime Framework : Support Multi-Cloud Kubernetes Service
Apache License 2.0
11 stars 11 forks source link
cb-ladybug cb-spider cb-store cb-tumblebug cloud cloud-barista cloud-computing csp go kubernetes mult-cloud orchestration

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

in src/ folder

$ swag init


* Open http://localhost:1470/swagger/index.html in your web browser 

## Documents

* [Design](./docs/design)
* REST API [latest](https://cloud-barista.github.io/cb-ladybug-api-web/?url=https://raw.githubusercontent.com/cloud-barista/cb-ladybug/master/src/docs/swagger.yaml)

## Contribution
Learn how to start contribution on the [Contributing Guideline](https://github.com/cloud-barista/docs/tree/master/contributing) and [Style Guideline](https://github.com/cloud-barista/cb-ladybug/blob/master/STYLE_GUIDE.md)