Skip to content

Quick Start Guide

Seokho Son edited this page Aug 24, 2021 · 2 revisions

Tested on: Ubuntu 18.04.5 LTS

  • install Go dev-env.

    sudo apt update; sudo apt install -y make gcc; sudo snap install go --classic;
    
  • install CB-Tumblebug Source

    git clone https://github.com/cloud-barista/cb-tumblebug.git $HOME/go/src/github.com/cloud-barista/cb-tumblebug;
    
  • build CB-Tumblebug Source

    cd $HOME/go/src/github.com/cloud-barista/cb-tumblebug/src; make; 
    
  • check the path of CBTUMBLEBUG_ROOT in setup.env (when needed)

    vi $HOME/go/src/github.com/cloud-barista/cb-tumblebug/conf/setup.env

  • setup CB-Tumblebug Run environment

    cd $HOME/go/src/github.com/cloud-barista/cb-tumblebug/conf; source ./setup.env
    

    Source setPublicIP.sh if you want to open outside access (by public IP) to Swagger API Dashboard. (optional)

    cd $HOME/go/src/github.com/cloud-barista/cb-tumblebug/assets/scripts; source ./setPublicIP.sh
    
  • start CB-Tumblebug Server

    cd $HOME/go/src/github.com/cloud-barista/cb-tumblebug/src; make run
    

    output:

    [Update system environment]
    
    [Setup SQL Database]
    Database access info set successfully
    Table spec set successfully..
    Table image set successfully..
    
    [Initiate Multi-Cloud Orchestration]
    
    
    
    
    
      ██████╗██████╗    ████████╗██████╗      
     ██╔════╝██╔══██╗   ╚══██╔══╝██╔══██╗     
     ██║     ██████╔╝█████╗██║   ██████╔╝     
     ██║     ██╔══██╗╚════╝██║   ██╔══██╗     
     ╚██████╗██████╔╝      ██║   ██████╔╝     
      ╚═════╝╚═════╝       ╚═╝   ╚═════╝      
                                         
     ██████╗ ███████╗ █████╗ ██████╗ ██╗   ██╗
     ██╔══██╗██╔════╝██╔══██╗██╔══██╗╚██╗ ██╔╝
     ██████╔╝█████╗  ███████║██║  ██║ ╚████╔╝ 
     ██╔══██╗██╔══╝  ██╔══██║██║  ██║  ╚██╔╝  
     ██║  ██║███████╗██║  ██║██████╔╝   ██║   
     ╚═╝  ╚═╝╚══════╝╚═╝  ╚═╝╚═════╝    ╚═╝   
    
     Multi-cloud infrastructure managemenet framework
     ________________________________________________
    
     https://github.com/cloud-barista/cb-tumblebug
    
    
     Access to API dashboard (username: default / password: default)
     http://localhost:1323/tumblebug/swagger/index.html?url=http://localhost:1323/tumblebug/swaggerActive
    
    ⇨ http server started on [::]:1323
    ⇨ grpc server started on [::]:50252
    
  • stop CB-Tumblebug Server

    Press Ctrl + C

  • CB-Tumblebug config entries

  • Initialize Meta Info

    rm -rf $CBTUMBLEBUG_ROOT/meta_db/*
    
Clone this wiki locally