1.6 KiB
1.6 KiB
📸 Photo Blog (BETA)
This template is in BETA. Optimizations are still being made around auth and cache behavior. Database schema changes are expected.
1. Deploy to Vercel
- Click Deploy
- Add required storage
- Add environment variables
NEXT_PUBLIC_SITE_TITLE(e.g., My Photos)NEXT_PUBLIC_SITE_DOMAIN(e.g., photos.domain.com)NEXT_PUBLIC_SITE_DESCRIPTION(optional—mainly used for og meta)
2. Setup Vercel Postgres
- Visit the
Storagetab on your project - Click "Create Database"
- Select Postgres
3. Setup Vercel Blob
- Visit the
Storagetab on your project - Click "Create Database"
- Select Blob
4. Setup Auth
- Create a Clerk account
- Add Clerk environment variables to your project
- Create an admin user
- Add your admin user id to your environment variables as
CLERK_ADMIN_USER_ID
5. Develop locally
- Clone code
- Install dependencies
pnpm i - Run
vc devto utilize Vercel-stored environment variables