An open API service indexing awesome lists of open source software.

https://github.com/dbtlr/dbtlr.com

Website / blog for https://dbtlr.com
https://github.com/dbtlr/dbtlr.com

Last synced: about 1 month ago
JSON representation

Website / blog for https://dbtlr.com

Awesome Lists containing this project

README

          

# Drew Butler

Remix website for

## Typegen

Generate types for your Cloudflare bindings in `wrangler.toml`:

```sh
pnpm run typegen
```

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

## Development

Run the Vite dev server:

```sh
pnpm run dev
```

To run Wrangler:

```sh
pnpm run build
pnpm run start
```

## Deployment

> [!WARNING]
> Cloudflare does _not_ use `wrangler.toml` to configure deployment bindings.
> You **MUST** [configure deployment bindings manually in the Cloudflare dashboard][bindings].

First, build your app for production:

```sh
pnpm run build
```

Then, deploy your app to Cloudflare Pages:

```sh
pnpm run deploy
```

[bindings]: https://developers.cloudflare.com/pages/functions/bindings/