-
Notifications
You must be signed in to change notification settings - Fork 246
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Enable team members to run dev with a Neon db branch in a single command
just dev-with-neon-branch gerhard-2024-11-29 To create a new Neon branch, run: just neon-create-branch All the new commands that go well together: [team] dev-with-neon-branch branch # Run app in dev mode with $branch neon-branch-connection branch *ARGS # Show $branch connection details neon-branches # List prod db branches neon-create-branch # Create a new branch off the prod db This is a follow-up to: - #533 - #508 Signed-off-by: Gerhard Lazu <[email protected]>
- Loading branch information
Showing
3 changed files
with
114 additions
and
44 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,18 @@ | ||
# Required for op to know which account to use | ||
export OP_ACCOUNT=changelog.1password.com | ||
|
||
# Required for image publishing to work locally | ||
export GITHUB_REPOSITORY="thechangelog/changelog.com" | ||
export GITHUB_REF_NAME="master" | ||
export GITHUB_REPOSITORY=thechangelog/changelog.com | ||
export GITHUB_REF_NAME=master | ||
export IMAGE_OWNER=thechangelog | ||
export GHCR_USERNAME=$USER | ||
|
||
# Required for Postgres imports to work locally | ||
export PKG_CONFIG_PATH=$PKG_CONFIG_PATH | ||
export PGUSER=postgres | ||
export DB_USER=$PGUSER | ||
export CHANGELOG_DEV_DB=changelog_dev | ||
|
||
# Load secrets if configured - only available to changelog.com team members: | ||
# https://github.com/orgs/thechangelog/people | ||
source_env_if_exists .envrc.secrets |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters