docs: add install/config tips
Some checks failed
/ build (push) Blocked by required conditions
/ tests (push) Successful in 43s
/ sast (push) Has been cancelled

This commit is contained in:
Marc 2024-07-11 21:32:25 -04:00
parent 44f41823d3
commit 5dc776b0d2
Signed by: marc
GPG key ID: 048E042F22B5DC79

View file

@ -1,3 +1,23 @@
# cobble # cobble
👞 A simple SQL migration utility 👞 A simple SQL migration utility
## Installing
Through `go`, the tool can be installed via:
```bash
go install forge.karnov.club/marc/cobble
```
## Configuring
Connection details about the database to apply migrations on can be provided via environment variables:
```bash
DB_HOST=... # Database host
DB_PORT=... # Database port
DB_APP_USER=... # Username to connect with when applying migrations
DB_APP_PASSWORD=... # Password to use to connect as $DB_APP_USER
DB_NAME=... # Database name to apply migrations on
```