mirror of
https://github.com/shouptech/tempgopher.git
synced 2026-02-03 08:39:43 +00:00
Add packr to documentation
This commit is contained in:
parent
ee4ca5347e
commit
047c605d00
1 changed files with 2 additions and 1 deletions
|
|
@ -16,9 +16,10 @@ You will need a computer (e.g., Raspberry Pi) with the following components:
|
|||
You can build on a Raspberry Pi, however, it can take a long time! I recommend building on a separate computer with a bit more processing power.
|
||||
|
||||
```
|
||||
go get -u github.com/gobuffalo/packr/...
|
||||
go get gitea.shoup.io/mike/temp-gopher
|
||||
cd $GOPATH/src/gitea.shoup.io/mike/temp-gopher
|
||||
GOOS=linux GOARCH=arm GOARM=6 go build -a -ldflags '-w -s -extldflags "-static"'
|
||||
GOOS=linux GOARCH=arm GOARM=6 packr build -a -ldflags '-w -s -extldflags "-static"'
|
||||
scp temp-gopher <raspberrypi>:~/somepath
|
||||
```
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue