Skip to content

maxshirshin/o2remix

Repository files navigation

remix-worker-template

The current starter template is based on Remix 1.5.1

Learn more about Remix Stacks.

npx create-remix --template edmundhung/remix-worker-template

What's included?

Node Version

Please make sure the node version is >= 16.7. If you are using nvm, just run:

nvm use

This allows miniflare to serve a development environment as close to the actual worker runtime as possibile.

Development

To starts your app in development mode, rebuilding assets on file changes, the recommended approach is:

npm run dev

This will run your remix app in dev mode using miniflare.

Testing

Before running the tests, please ensure the worker is built:

npm run build && npm run test

Deployment

To deploy your Remix app, simply do it with Wrangler using:

npx wrangler publish

CI/CD

The template ships a development workflow which is triggered whenever new changes are pushed.

To allow GitHub deploying the worker for you, following variables are required:

  • CF_API_TOKEN
  • CF_ACCOUNT_ID

These values could be found / created on your Cloudflare Dashboard

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published