Skip to content

onetonfoot/pgdb

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Pgdb

Pgdb is a single binary that can be used to run a postgres database on any major platform, it is mostly used for testing purposes.

# pgdb --help

USAGE:
    pgdb [FLAGS] [OPTIONS]

FLAGS:
    -h, --help              Prints help information
        --non-persistent    If non-persistent delete files and directories on exit, otherwise keep them
        --print-url         Wether to print the access url to the stdout
    -V, --version           Prints version information

OPTIONS:
        --data-dir <data-dir>              Optional a directory to store posgres data [default: data/db]
        --database <database>              Database name [default: postgres]
        --migration-dir <migration-dir>    Optional a directory with migration scripts to apply
        --password <password>              Password [default: password]
        --port <port>                      Port [default: 5432]
        --user <user>                      User [default: postgres]

About

A single binary to easily run postgres

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages