Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

xiliangMa/restapi

Repository files navigation

run api

set env:
 MARIADB_DATABASE=uranus_local;MARIADB_USER=root;MARIADB_PASSWORD=abc123123;MARIADB_HOST=127.0.0.1
go build:
 go build -o restapi
 
run:
 bee run -gendoc=true -downdoc=true
 
run by restapi:
 ./restapi

build image

docker build -t restapi-1.0.0 .

run in kubernetes cluster

kubectl apply -f deploy-k8s.yml

How to implement application deployment in kubenets?

https://blog.csdn.net/weixin_41806245/article/details/93745532

About

golang restapi server by beego

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

AltStyle によって変換されたページ (->オリジナル) /