- Notifications
You must be signed in to change notification settings - Fork924
chore(coderd/database/gen/dump): add optional DB_DUMP_CONNECTION_URL#16243
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Uh oh!
There was an error while loading.Please reload this page.
Changes fromall commits
File filter
Filter by extension
Conversations
Uh oh!
There was an error while loading.Please reload this page.
Jump to
Uh oh!
There was an error while loading.Please reload this page.
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -72,6 +72,11 @@ the following tools by hand: | ||
- [`pg_dump`](https://stackoverflow.com/a/49689589) | ||
- on macOS, run `brew install libpq zstd` | ||
- on Linux, install [`zstd`](https://github.com/horta/zstd.install) | ||
- PostgreSQL 13 (optional if Docker is available) | ||
- *Note*: If you are using Docker, you can skip this step | ||
- on macOS, run `brew install postgresql@13` and `brew services start postgresql@13` | ||
- To enable schema generation with non-containerized PostgreSQL, set the following environment variable: | ||
- `export DB_DUMP_CONNECTION_URL="postgres://postgres@localhost:5432/postgres?password=postgres&sslmode=disable"` | ||
Comment on lines +75 to +79 There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others.Learn more. Maybe add a warning note regarding
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others.Learn more. I think this is an unlikely scenario, you can use | ||
- `pkg-config` | ||
- on macOS, run `brew install pkg-config` | ||
- `pixman` | ||
Uh oh!
There was an error while loading.Please reload this page.