- Install dependencies
pnpm i
- Pull
.env
file from vercel
vercel env pull .env
- (Optional) Initialize database
pnpm run db:push
- Run dev server
pnpm run dev
- Sign in or sign up an account
- Go to clerk dashboard
- Find app and select the instance
- Go to
Users
- Find your account and
View profile
- Add
{ "isAdmin": true }
in public metadata
- Visit
/admin