Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ponjimon/remix-cloudflare-pages-template
An opinionated template for running Remix on Cloudflare Pages.
https://github.com/ponjimon/remix-cloudflare-pages-template
cloudflare remix remix-run
Last synced: about 1 month ago
JSON representation
An opinionated template for running Remix on Cloudflare Pages.
- Host: GitHub
- URL: https://github.com/ponjimon/remix-cloudflare-pages-template
- Owner: Ponjimon
- License: mit
- Created: 2022-01-23T15:27:13.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2023-10-18T15:14:18.000Z (over 1 year ago)
- Last Synced: 2024-11-10T09:09:26.745Z (3 months ago)
- Topics: cloudflare, remix, remix-run
- Language: TypeScript
- Homepage: https://remix-template.sinu.dev
- Size: 1.06 MB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Welcome to Remix!
- [Remix Docs](https://remix.run/docs)
## Development
You will be utlizing Wrangler for local development to emulate the Cloudflare runtime. This is already wired up in your package.json as the `dev` script:
```sh
# start the remix dev server and wrangler
$ npm run dev
```Open up [http://127.0.0.1:8788](http://127.0.0.1:8788) and you should be ready to go!
## Deployment
Cloudflare Pages are currently only deployable through their Git provider integrations.
If you don't already have an account, then [create a Cloudflare account here](https://dash.cloudflare.com/sign-up/pages) and after verifying your email address with Cloudflare, go to your dashboard and follow the [Cloudflare Pages deployment guide](https://developers.cloudflare.com/pages/framework-guides/deploy-anything).
Configure the "Build command" should be set to `npm run build`, and the "Build output directory" should be set to `public`.