BSD Ports

databases/go-pgweb 0.11.7_24 DragonFly

Web-based database browser for PostgreSQL

System
DragonFly
Repository
DPorts
Maintainer
[email protected] (as in FreeBSD)
License
MIT
Categories
databases, www
Package size
3232.6 KiB, 9389.0 KiB installed

Description

Pgweb is a web-based database browser for PostgreSQL, written in Go and works on OSX, Linux and Windows machines. Main idea behind using Go for backend development is to utilize ability of the compiler to produce zero-dependency binaries for multiple platforms. Pgweb was created as an attempt to build very simple and portable application to work with local or remote PostgreSQL databases.

In the other systems

SystemPortVersion
DragonFlydatabases/go-pgweb0.11.7_24
FreeBSDdatabases/go-pgweb0.17.0_5
HardenedBSDdatabases/go-pgweb0.17.0_3
GhostBSDdatabases/go-pgweb0.17.0_3

Install

Binary package:

pkg install go-pgweb

From DPorts:

cd /usr/dports/databases/go-pgweb && make install clean

Dependencies

No port depends on this one.

Configuration

No options to configure.

Service scripts
none

Message after installing

To run Pgweb at startup, enable it in your /etc/rc.conf:
sysrc pgweb_enable="YES"

To start Pgweb:
service pgweb start

Pgweb will listen on port 8081 and bind to localhost.  
This can be changed by setting "pgweb_bind" and "pgweb_listen" 
in /etc/rc.conf.

sysrc pgweb_bind="0.0.0.0" pgweb_listen="80"

Additional options can be set using "pgweb_flags". See 'pgweb --help' for a list
of all options.