mirror of
https://github.com/sosedoff/pgweb.git
synced 2024-12-15 11:52:12 +03:00
579 B
579 B
pgweb
Web-based PostgreSQL database browser written in Go.
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)
--url= Database connection string (postgresql://...)
--ssl= SSL option (disable)
Compile from source
Go 1.3+ is required. You can install Go with homebrew
:
brew install go
To compile source code run the following command:
go get
go build
This will produce pgweb
binary in the current directory.