Self-Hosting on Vercel

Fork the repository

Go to the LifeOS GitHub repository and click Fork. This creates a copy under your GitHub account that Vercel can deploy from.

Connect to Vercel

Log in to Vercel, click New Project, and import your forked repository. Vercel auto-detects the Next.js framework and configures the build settings.

Set environment variables

In your Vercel project settings, go to Environment Variables and add all required values. See the env-vars reference page for the full list. At minimum you need:

NEXT_PUBLIC_SUPABASE_URL
NEXT_PUBLIC_SUPABASE_ANON_KEY
SUPABASE_SERVICE_ROLE_KEY
GOOGLE_CLIENT_ID
GOOGLE_CLIENT_SECRET
OPENROUTER_API_KEY
SESSION_SECRET

Deploy

Click Deploy. Vercel builds the project and assigns a URL. Every push to your fork's main branch triggers an automatic redeploy. Preview deployments are created for pull requests.