Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/mcansh/my-remix-cloudflare-app


https://github.com/mcansh/my-remix-cloudflare-app

Last synced: 5 days ago
JSON representation

Awesome Lists containing this project

README

        

# Welcome to Remix!

- [Remix Docs](https://docs.remix.run)
- [Customer Dashboard](https://remix.run/dashboard)

## Development

You will be running two processes during development when using Vercel as your server.

- Your Miniflare server in one (miniflare is a local environment for Cloudflare Workers)
- The Remix development server in another

```sh
# in one tab (starts remix dev server)
$ npm run dev

# in another (starts miniflare server)
$ npm start
```

Open up [http://127.0.0.1:8787](http://127.0.0.1:8787) and you should be ready to go!

If you'd rather run everything in a single tab, you can look at [concurrently](https://npm.im/concurrently) or similar tools to run both processes in one tab.

## Deployment

Use wrangler to build and deploy your application to Cloudflare Workers:

```sh
npm run deploy
```