The service can be run with minimal configuration.
Only the database connection information is required.
(The only situtation when this is not needed is when
running with the
The database connection information can be provided in an environment variable
DATABASE_URL containing a Postgres connection string.
It can also be provided in the configuration file
Linux or OSX
export DATABASE_URL=postgresql://username:password@host/dbname ./pg_featureserv
SET DATABASE_URL=postgresql://username:password@host/dbname pg_featureserv.exe
||Show command usage|
||Specify configuration file to use.|
||Set logging level to TRACE (can also be set in config file).|
||Run in development mode. Assets are reloaded on every request.|
||Run in test mode. Uses an internal catalog of sample tables and data. Does not require a database.|