Skip to content
This repository has been archived by the owner on Dec 17, 2022. It is now read-only.

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
jerson authored Sep 28, 2019
1 parent 0864740 commit 2bf7f94
Showing 1 changed file with 0 additions and 27 deletions.
27 changes: 0 additions & 27 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,32 +64,5 @@ pgrok captures and analyzes all traffic over the tunnel for later inspection and
## Developing on pgrok
[pgrok developer's guide](docs/DEVELOPMENT.md)
## Compile for linux
```bash
git clone https://github.com/jerson/pgrok && cd pgrok
docker run --rm -it -w /app -v $PWD:/app jerson/go:1.13 sh -c 'make'
```

## Cross compile

```bash
git clone https://github.com/jerson/pgrok && cd pgrok
docker run --rm -it -w /app -v $PWD:/app jerson/go:1.13 sh -c '
make deps
mkdir build
for GOOS in darwin linux windows; do
for GOARCH in 386 amd64; do
echo "Building $GOOS-$GOARCH"
export GOOS=$GOOS
export GOARCH=$GOARCH
go build -o ./build/pgrokd-$GOOS-$GOARCH ./cmd/pgrokd
go build -o ./build/pgrok-$GOOS-$GOARCH ./cmd/pgrok
done
done
'
```


## Disclaimer
pgrok is a fork of ngrok

0 comments on commit 2bf7f94

Please sign in to comment.