루트 디렉터리에 .env
파일 생성 후 prisma
, auth.js
, sentry
에 해당하는 환경 변수 입력
# prisma
DATABASE_URL="postgresql://johndoe:randompassword@localhost:6543/mydb?schema=public?pgbouncer=true"
DIRECT_URL="postgresql://johndoe:randompassword@localhost:5432/mydb?schema=public"
# auth.js
AUTH_SECRET="your_auth_secret"
AUTH_GOOGLE_ID="your_oauth_id"
AUTH_GOOGLE_SECRET="your_oauth_secret"
# sentry
SENTRY_AUTH_TOKEN=your_sentry_token
SENTRY_DSN=your_sentry_dsn
# supabase storage
NEXT_PUBLIC_SUPABASE_URL=your_url
NEXT_PUBLIC_SUPABASE_ANON_KEY=your_key
NEXT_PUBLIC_SUPABASE_STORAGE_BUCKET=your-bucket
pnpm install
pnpx prisma generate
pnpm dev