gateway

command
v0.0.0-...-1b21300 Latest Latest
Warning

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

Go to latest
Published: May 14, 2020 License: Apache-2.0 Imports: 6 Imported by: 0

README

# Gateway between the backend and frontend

depoy mysql and update the configure file 'gateway-dbconfig.yaml'

database in mysql should be checked and initialized firstly, and

data should be stored permanently.

update the configure file 'gateway-config.yaml'

copy two configure files to '/etc/cbaasdesk/backend'

gateway connects to fabric-engine, and fabric-engine connects to kube-engine

run this application:

go run main.go

account for adminstrator:

admin 123456

Testing this application;

Using 'go run main.go' to test this application.

When testing, the followed configure files can be in the same folder of 'main.go':

  • gateway-config.yaml
  • gateway-dbconfig.yaml
  • gateway-mysql.sql

When testing, four services (gateway, mysql, fabricengine, kubeengine) can be deployed in a same host.

When testing, default account for administrator is: username 'admin' and pwd '123456'.

Those configure files also can be allocated in folder '/etc/cbaasdesk/backend', and the services can be deployed separately.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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