Dependencies:
git clone https://github.com/alfaz-studio/sonacove.git
cd sonacove
bun install
bun run devPage doesn't load / blank dashboard / hydration errors
Clear the Vite cache and restart:
rm -rf node_modules/.vite && bun run dev- Add them to astro env schema
- Update example.env file
- Update .env file
- Use them in source code like:
import { PUBLIC_CF_ENV } from "astro:env/client"; // client-side onlyNote: Only PUBLIC_* environment variables are needed. All API requests are proxied to the Elysia server in sona-config, so server-side secrets are no longer required in this repo.
Make sure to update for both preview and production.