Skip to content

Latest commit

 

History

History
34 lines (21 loc) · 1.32 KB

README_FOR_REMIX.md

File metadata and controls

34 lines (21 loc) · 1.32 KB

Welcome to Remix!

Development

You will be running two processes during development:

  • The Miniflare server (miniflare is a local environment for Cloudflare Workers)
  • The Remix development server
# in one tab, start the remix dev server
$ npm run dev

# in another, start the miniflare server
$ npm start

Open up 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 or similar tools to run both processes in one tab.

Deployment

Use wrangler to build and deploy your application to Cloudflare Workers. If you don't have it yet, follow the installation guide to get it setup. Be sure to authenticate the CLI as well.

If you don't already have an account, then create a cloudflare account here and after verifying your email address with Cloudflare, go to your dashboard and set up your free custom Cloudflare Workers subdomain.

Once that's done, you should be able to deploy your app:

npm run deploy