[go: nahoru, domu]

Skip to content

savovsa/gyarns

Repository files navigation

Vlady's Remix, Cloudflare Pages, drizzle, D1 template

Demo: https://remix-d1-4vz.pages.dev/

📖 See the Remix docs and the Remix Vite docs for details on supported features.

Typegen

npm run gen when you change wrangler.toml

Database

Create one and add it to wrangler.toml

db-migrate-gen when you change the schema

db-migrate-apply to apply the migrations to the database

db-studio to inspect the database

Development

Run the Vite dev server:

npm run dev

To run Wrangler:

npm run build
npm run start

Deployment

Warning

Cloudflare does not use wrangler.toml to configure deployment bindings. You MUST configure deployment bindings manually in the Cloudflare dashboard.

First, build your app for production:

npm run build

Then, deploy your app to Cloudflare Pages, you'll need to manually set up the binding for the database in the cloudflare dashboard:

npm run deploy

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published