Skip to content

Commit

Permalink
Fixes README steps as per the new UI flow
Browse files Browse the repository at this point in the history
  • Loading branch information
davidgomes committed Oct 24, 2024
1 parent a10f2a4 commit 95d5267
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,9 @@ https://api.stack-auth.com/api/v1/projects/<project-id>/.well-known/jwks.json

(If you have an older Stack Auth project, you'll have to disable legacy JWKS in the Stack Auth's project settings)

6. Clone this repository and run `npm install` or `bun install`
7. Create a `.env` file in the root of this project and add the following:
6. Follow the steps in the UI to setup the roles for Neon Authorize. You should ignore the schema related steps if you're following this guide
7. Clone this repository and run `npm install` or `bun install`
8. Create a `.env` file in the root of this project and add the following:

```
NEXT_PUBLIC_STACK_PROJECT_ID=
Expand All @@ -28,7 +29,7 @@ DATABASE_URL=
DATABASE_AUTHENTICATED_URL=
```

8. Run `npm run drizzle:migrate` or `bun run drizzle:migrate` to apply the migrations
9. Run `npm run dev` or `bun run dev`
10. Open your browser and go to `http://localhost:3000`
11. Login and play around!
9. Run `npm run drizzle:migrate` or `bun run drizzle:migrate` to apply the migrations
10. Run `npm run dev` or `bun run dev`
11. Open your browser and go to `http://localhost:3000`
12. Login and play around!

0 comments on commit 95d5267

Please sign in to comment.