waves

command module
v0.0.0-...-f0fce53 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 20, 2021 License: Apache-2.0 Imports: 19 Imported by: 0

README

Waves

GoDoc Go Report Card waves

Waves is an application deployment platform, mainly used for offline fast delivery of applications. Its design is inspired by kubernetes, uses a declarative interface to manage resources and provides simple command line management tools.

Dependency

  • golang 1.13
  • etcd 3.3.19
  • ansible
  • mitogen

Install Dependency

// install ansible and mitogen
yum install -y ansible python-pip
pip install mitogen

// install swag
git clone -b v1.6.7 https://github.com/swaggo/swag.git $GOPATH/src/github.com/swaggo/swag
go install github.com/swaggo/swag/cmd/swag

Build

make

Run

  1. Run ETCD for storing data

    docker run -d -p 2379:2379 --rm quay.io/coreos/etcd:v3.3.19 /usr/local/bin/etcd --listen-client-urls http://0.0.0.0:2379 --advertise-client-urls http://0.0.0.0:2379
    
  2. Edit config file

    cp conf/app.ini.sample conf/app.ini
    
  3. Run as frontend service

    make run
    
  4. Access via browser

    http://localhost:8000/deployer/swagger/index.html
    

Others

generate swagger api doc

make doc

generate codes

make gen

unit test

make test

clean working directory

make clean

Docs

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL