Skip to content

Commit 20b5421

Browse files
committed
Update build instructions in README.md
1 parent 161a540 commit 20b5421

File tree

1 file changed

+5
-20
lines changed

1 file changed

+5
-20
lines changed

README.md

Lines changed: 5 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -121,20 +121,13 @@ under the same port as the UI.
121121

122122
### Requirements
123123
You need to install following dependencies first:
124-
* Go >= 1.17
124+
* Go
125125
* Node
126126
* Yarn
127+
128+
See [.circleci/config.yml](.circleci/config.yml) for required versions.
127129

128-
### Prepare
129-
Download and install to [GOPATH](https://github.com/golang/go/wiki/GOPATH):
130-
```bash
131-
go get -u github.com/RoboCup-SSL/ssl-game-controller/...
132-
```
133-
Switch to project root directory
134-
```bash
135-
cd $GOPATH/src/github.com/RoboCup-SSL/ssl-game-controller/
136-
```
137-
Download dependencies for frontend
130+
### Install dependencies
138131
```bash
139132
yarn install
140133
```
@@ -150,18 +143,10 @@ Run the UI:
150143
# compile and hot-reload
151144
yarn serve
152145
```
153-
Or use the provided IntelliJ run configurations.
154146

155147
### Build self-contained release binary
156-
First, build the UI resources
157-
```bash
158-
# compile and minify UI
159-
yarn build
160-
```
161-
Then build the backend
162148
```bash
163-
# install the binary
164-
go install ./cmd/ssl-game-controller
149+
./install.sh
165150
```
166151

167152
### Update generated protobuf code

0 commit comments

Comments
 (0)