- Copy
.env.exampleto.envand fill in your values:VITE_SUPABASE_URL=https://your-supabase-url VITE_SUPABASE_ANON_KEY=your-anon-key VITE_FASTAPI_URL=https://your-fastapi-url - Install dependencies:
python -m venv venv source venv/bin/activate npm install - Run in development mode:
npm run dev - Open http://localhost:5173 in your browser.
- Create a new Coolify app, pointing to this repo.
- Environment Variables (mark as Build Variables):
VITE_SUPABASE_URLVITE_SUPABASE_ANON_KEYVITE_FASTAPI_URL
- Build Command:
npm install && npm run build - Publish Directory:
dist - Ports Exposes:
80 - Deploy.