Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/fitfab/remix-fitfab
Migrating fitfab to remix and Cloudfare Pages along with TailwindCSS and GraphCMS
https://github.com/fitfab/remix-fitfab
Last synced: 4 days ago
JSON representation
Migrating fitfab to remix and Cloudfare Pages along with TailwindCSS and GraphCMS
- Host: GitHub
- URL: https://github.com/fitfab/remix-fitfab
- Owner: fitfab
- Created: 2022-06-13T20:43:57.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-04-04T14:05:48.000Z (over 1 year ago)
- Last Synced: 2024-10-11T12:14:34.867Z (27 days ago)
- Language: TypeScript
- Size: 2.71 MB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Welcome to Remix! (Cloudfare Pages)
- [Remix Docs](https://remix.run/docs)
## Development
You will be utilizing 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`.