# Gateway between the backend and frontend
database in mysql should be checked and initialized firstly, and
data should be stored permanently.
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.