Update readme: cross-compile

This commit is contained in:
Dan Sosedoff
2014-10-21 07:25:58 -07:00
parent 12631544fc
commit 48d21fed1f

View File

@@ -50,9 +50,7 @@ pgweb --url postgresql://user:password@host:port/database
It works great with [Heroku Postgres](https://postgres.heroku.com) if you need It works great with [Heroku Postgres](https://postgres.heroku.com) if you need
to troubleshoot production database or simply run a few queries. to troubleshoot production database or simply run a few queries.
## CLI Full CLI options:
CLI options:
``` ```
Usage: Usage:
@@ -85,6 +83,15 @@ make dev
This will produce `pgweb` binary in the current directory. This will produce `pgweb` binary in the current directory.
There's also a task to compile binaries for other operating systems:
```
make build
```
Under the hood it uses [gox](https://github.com/mitchellh/gox). Compiled binaries
will be stored into `./bin` directory.
## Contributors ## Contributors
- Dan Sosedoff - https://twitter.com/sosedoff - Dan Sosedoff - https://twitter.com/sosedoff