1
0
Fork 0
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:
Emma 2018-10-04 12:42:38 -06:00
parent ee4ca5347e
commit 047c605d00

View file

@ -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. 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 go get gitea.shoup.io/mike/temp-gopher
cd $GOPATH/src/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 scp temp-gopher <raspberrypi>:~/somepath
``` ```