Pack gin-gonic and create-react-app into a binary file.
- go1.16+
- create-react-app
After running the file, the system browser will be used to access the monitoring address.
cd web
yarn install
yarn build
cd ..
go build -o server main.go
./server
Pack gin-gonic and create-react-app into a binary file.
After running the file, the system browser will be used to access the monitoring address.
cd web
yarn install
yarn build
cd ..
go build -o server main.go
./server