Discover Packages
github.com/wujie1993/waves
command
module
Version:
v0.0.0-...-f0fce53
Opens a new window with list of versions in this module.
Published: Feb 20, 2021
License: Apache-2.0
Opens a new window with license information.
Imports: 19
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
README
¶
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
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
Edit config file
cp conf/app.ini.sample conf/app.ini
Run as frontend service
make run
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
Expand ▾
Collapse ▴
Documentation
¶
There is no documentation for this package.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.