Skip to content

Commit c27b85d

Browse files
committed
Update build instructions in README
Close #197 Signed-off-by: Hanno Braun <[email protected]>
1 parent 6d4a183 commit c27b85d

File tree

1 file changed

+10
-7
lines changed

1 file changed

+10
-7
lines changed

README.md

+10-7
Original file line numberDiff line numberDiff line change
@@ -309,17 +309,20 @@ The results of the upload will be delivered via websocket with messages that loo
309309
310310
## Development
311311
312-
From the project root dir executing:
312+
To clone the repository, run the following command:
313313
```
314-
export GOPATH=$PWD
315-
go get
316-
go build
314+
go get github.com/arduino/arduino-create-agent
317315
```
318-
will build the `arduino-create-agent` binary.
319316
320-
`compile_webidebridge.sh` contains the cross-platform script we use to deploy the agent for all the supported platforms; it needs to be adjusted as per your `go` installation paths and OS.
317+
This will clone the repository into your [Go workspace](https://golang.org/doc/code.html#Workspaces) or create a new workspace, if one doesn't exist. You can set `$GOPATH` to define where your Go workspace is located.
318+
319+
Now you can go to the project directory and compile it:
320+
```
321+
cd $GOPATH/src/github.com/arduino/arduino-create-agent
322+
go build
323+
```
321324
322-
You can use `bootstrapPlatforms` function to compile the needed CGO-enabled environment
325+
This will create the `arduino-create-agent` binary.
323326
324327
Other prerequisites are:
325328
* libappindicator (Linux only on Ubuntu `sudo apt-get install libappindicator1`)

0 commit comments

Comments
 (0)