~yerinalexey/gobin

e48ddadf229ca1091cc60fb862cb29cbda23c313 — Alexey Yerin 5 months ago c6e4af1
Dump config.example.toml to README
1 files changed, 23 insertions(+), 0 deletions(-)

M README.md
M README.md => README.md +23 -0
@@ 15,6 15,29 @@ and PostgreSQL database running.
Copy `config.example.toml` to `config.toml` (or whatever you want) and
edit to your liking. All fields are required.

```toml
# Postgres database URI to connect to
#
# Format as follows: postgres://<USER>[:PASSWORD]@<HOST>[:PORT]/<DB>
databaseUri = "postgres://postgres:qqqq@localhost/gobin"

# On which port the application runs
#
# If you port is <1024, you need to run gobin as root because such ports
# are priviliged
port = 4000

# Directories for static assets and templates, relative to where you're
# launching gobin from
templateRoot = "./templates"
staticRoot = "./static"

# Assume http:// on permalinks, setting this to true is not recommended
# in production environments
#insecure = true
insecure = false
```

## Building
```sh
git clone https://git.sr.ht/~yerinalexey/gobin