pgweb/README.md

33 lines
582 B
Markdown
Raw Normal View History

2014-10-08 21:29:43 -05:00
# pgweb
2014-10-10 21:06:08 -05:00
Web-based PostgreSQL database browser written in Go.
2014-10-08 21:29:43 -05:00
## Usage
CLI options:
```
-h, --host= Server hostname or IP (localhost)
-p, --port= Server port (5432)
-u, --user= Database user (postgres)
-d, --db= Database name (postgres)
2014-10-10 21:06:08 -05:00
--url= Database connection string (postgresql://...)
--ssl= SSL option (disable)
2014-10-08 21:29:43 -05:00
```
2014-10-10 21:06:08 -05:00
## Compile from source
2014-10-08 21:54:49 -05:00
2014-10-10 21:06:08 -05:00
Go 1.3+ is required. You can install Go with `homebrew`:
2014-10-08 21:54:49 -05:00
```
2014-10-10 21:06:08 -05:00
brew install go
2014-10-09 19:23:19 -05:00
```
2014-10-10 21:06:08 -05:00
To compile source code run the following command:
2014-10-08 21:29:43 -05:00
```
2014-10-13 18:31:28 -05:00
make deps
make dev
2014-10-09 19:23:19 -05:00
```
2014-10-13 18:31:28 -05:00
This will produce `pgweb` binary in the current directory.