🚀 A fresh clone now reaches the dashboard by following the guide. The guides put your variables in .env.local, the Prisma commands read only .env, so npx prisma migrate deploy stopped at "The datasource.url property is required in your Prisma config file" on a first run. And before a database exists the landing page had no plans to show, and failed. This is a PATCH: git pull, npm install. Nothing to migrate and nothing to configure.
Fixed
npx prisma migrate deploy,npx prisma db seedandnpx prisma studioread.env.localfirst and.envafter it, the order Next.js already used, so the commands in the guide andnpm run devopen the same database. A variable set in the shell still wins over both files, which is what the production migration in Deployment relies on- A seed that fails exits with an error. It used to print the error and exit 0, and Prisma signed off with "The seed command has been executed"
- Without a database, the landing and pricing pages show the steps left instead of failing: the one you are on is marked, and the full guide is one link away. Development only, and only until the database is ready
Changed
- The Quick start in the README is the same first run as Getting started: prerequisites, clone and install,
npm run dev, database, tables, sign in. The setup of each provider (Google, GitHub, Stripe, Resend) stays in Configuration, which had it all along - One command to generate
AUTH_SECRET, thenodeone, which works in PowerShell too. The guide usedopenssl, which Windows does not ship - The guides create the database before asking for its connection string, which is the order you do it in, and say that the seed writes six example plans, one of them inactive, not two
- Dependencies:
lucide-react1.48,vitestand@vitest/coverage-v85,@types/node26,dotenv18. The kit's own tests, build and audit run green on all of them
If you keep two different databases in .env and .env.local
The Prisma commands used to act on the one in .env and now act on the one in .env.local, the same one the app opens. Everything else is unchanged: see Upgrading.