/druvis

Translate English article to Japanese and summarize it

Primary LanguageTypeScript

Druvis: Translate English article to Japanese and summarize it

Typegen

Generate types for your Cloudflare bindings in wrangler.toml:

bun typegen

You will need to rerun typegen whenever you make changes to wrangler.toml.

Development

Run the Vite dev server:

bun dev

To run Wrangler:

bun run build
bun 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:

bun run build

Then, deploy your app to Cloudflare Pages:

bun run deploy