ssl-remote-control
A remote control web app that can be used by each SSL team to send certain commands to the ssl-game-controller.
Run on a Raspberry Pi
See rpi/Readme.md.
Usage
If you just want to use this app, simply download the latest release binary. The binary is self-contained. No dependencies are required.
You can also use pre-build docker images:
docker pull robocupssl/ssl-remote-control
docker run -p 8083:8083 robocupssl/ssl-remote-control
By default, the UI is available at http://localhost:8083
Development
Requirements
You need to install following dependencies first:
- Go >= 1.17
- Node >= 10
- Yarn
Prepare
Download and install to GOPATH:
go get -u github.com/RoboCup-SSL/ssl-remote-control/...
Switch to project root directory
cd $GOPATH/src/github.com/RoboCup-SSL/ssl-remote-control/
Download dependencies for frontend
yarn install
Run
Run the backend:
go run cmd/ssl-remote-control/main.go
Run the UI:
# compile and hot-reload
yarn dev
Or use the provided IntelliJ run configurations.
Build self-contained release binary
First, build the UI resources
# compile and minify UI
yarn build
Then build the backend with packr
# get packr
go get github.com/gobuffalo/packr/packr
# install the binary
cd cmd/ssl-remote-control
packr install