Skip to content
This repository has been archived by the owner on Feb 29, 2024. It is now read-only.

highlight/remix-on-fastly

Repository files navigation

Welcome to Remix!

Development

Prerequisites:

You will be running two processes during development:

Both are started with one command:

npm run dev

Open up http://127.0.0.1:7676 and you should be ready to go!

Changes made to files in app/ will cause the Remix application to rebuild and then trigger a live reload. The live refresh occurs automatically 5000ms after the rebuild. If this delay is too short, you can configure this using the devServerBroadcastDelay value in remix.config.js and then restart npm run dev.

If you want to check the production build, you can stop the dev server and run following commands:

npm run build
npm start

Then refresh the same URL in your browser (no live reload for production builds).

Deployment

If you don't already have an account, then create a Fastly Compute@Edge account here.

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

npm run build
npm run deploy

Issues

If you encounter any non-security-related bug or unexpected behavior, please file an issue using the bug report template.

Security issues

Please see our SECURITY.md for guidance on reporting security-related issues.

License

MIT.

About

An initial prototype of Remix deployed to Fastly, following the Fastly docs: https://www.fastly.com/blog/host-your-remix-app-on-fastly-compute-edge

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published