Make sure to install the dependencies:
# pnpm
pnpm i
Update .env values
TURSO_DB_URL=""
TURSO_DB_TOKEN=""
NEXTAUTH_SECRET=""
AUTH_ORIGIN="http://localhost:3000"
#AuthJS Discord Provider
DISCORD_CLIENT_ID=""
DISCORD_CLIENT_SECRET=""
#Discord userid for admin
DISCORD_ADMIN_USER_ID=""
#Discord webhook
DISCORD_WEBHOOK=""
#Cloudinary
CLOUDINARY_FOLDER=""
CLOUDINARY_CLOUD_NAME=""
CLOUDINARY_API_KEY=""
CLOUDINARY_API_SECRET=""
SENDGRID_API=""
Start the development server on http://localhost:3000
pnpm run dev
Build the application for production:
pnpm run build
Locally preview production build:
pnpm run preview