Skip to content

Set up dev environment + document DB bootstrap#101

Draft
DealPatrol wants to merge 1 commit into
mainfrom
cursor/setup-dev-environment-f3b4
Draft

Set up dev environment + document DB bootstrap#101
DealPatrol wants to merge 1 commit into
mainfrom
cursor/setup-dev-environment-f3b4

Conversation

@DealPatrol

Copy link
Copy Markdown
Owner

Summary

Set up and verified the RepoFuse development environment end-to-end, and added two durable, non-obvious notes to AGENTS.md for future agents.

What was done

  • Installed dependencies with pnpm install (Node 22, pnpm 10.33).
  • Ran static checks: npx tsc --noEmit passes; pnpm lint has only pre-existing errors/warnings.
  • Started the dev server (pnpm dev) and confirmed the app boots and the homepage renders.
  • Provisioned an isolated Neon branch, initialized the schema via /api/setup/init-db, and exercised the core product flow: authenticated via the cookie bypass → dashboard → created an analysis ("My First RepoFuse Analysis") against a seeded repository, with data persisting to Postgres.

AGENTS.md additions

  • /api/setup/init-db is the idempotent way to bootstrap the schema (the psql path in README.md does not work with the Neon HTTP driver).
  • Clarified how the github_user_id / github_access_token cookie bypass authenticates when DATABASE_URL is set (a matching user_auth row must exist).

Notes

  • No source/runtime code was changed.
  • The local .env.local (gitignored) and the provisioned Neon branch were used only for the setup demo; full GitHub OAuth and AI blueprint generation still require user-provided secrets.
Open in Web Open in Cursor 

Co-authored-by: Cole Collins <DealPatrol@users.noreply.github.com>
@vercel

vercel Bot commented Jun 21, 2026

Copy link
Copy Markdown
Contributor

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
repo-app-architect Ready Ready Preview, Comment Jun 21, 2026 11:10pm
repofuse Ready Ready Preview, Comment, Open in v0 Jun 21, 2026 11:10pm
v0-repo-app-architect Ready Ready Preview, Comment, Open in v0 Jun 21, 2026 11:10pm

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants