Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion apps/cli/src/helpers/database-providers/neon-setup.ts
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@ async function setupWithNeonDb(
function displayManualSetupInstructions(target: "apps/web" | "apps/server") {
log.info(`Manual Neon PostgreSQL Setup Instructions:

1. Visit https://neon.tech and create an account
1. Get Neon with Better T Stack referral: https://get.neon.com/sbA3tIe
2. Create a new project from the dashboard
3. Get your connection string
4. Add the database URL to the .env file in ${target}/.env
Expand Down Expand Up @@ -278,6 +278,8 @@ export async function setupNeonPostgres(
return envResult;
}
displayManualSetupInstructions(target);
} else {
log.info(`Get Neon with Better T Stack referral: ${pc.cyan("https://get.neon.com/sbA3tIe")}`);
}
return neonDbResult;
}
Expand Down Expand Up @@ -326,5 +328,6 @@ export async function setupNeonPostgres(
}

finalSpinner.stop("Neon database configured!");
log.info(`Get Neon with Better T Stack referral: ${pc.cyan("https://get.neon.com/sbA3tIe")}`);
return Result.ok(undefined);
}
4 changes: 2 additions & 2 deletions bun.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.