SvelteKit, Drizzle, Neon, Cloudflare Pages.
- Have pnpm installed.
- Create
.env
file with variables:DATABASE_URL
- PostgreSQL connection string.PUBLIC_IMAGES_URL
- URL to images.
$ pnpm i
.$ pnpm run dev
.
- Provide same variables as for dev.
$ pnpm i
.$ pnpm run build
.- Publish to git, which will trigger Cloudflare Pages deployment.
$ pnpm run test
.