Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mcansh/remix-netlify-edge-test
https://github.com/mcansh/remix-netlify-edge-test
Last synced: 5 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/mcansh/remix-netlify-edge-test
- Owner: mcansh
- Created: 2022-05-13T23:08:36.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-02-04T11:36:24.000Z (almost 2 years ago)
- Last Synced: 2024-10-18T06:29:05.331Z (26 days ago)
- Language: TypeScript
- Size: 1.94 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Welcome to Remix!
This template uses the Netlify Edge Functions beta to deploy your Remix site.
- [Remix Docs](https://remix.run/docs)
## Netlify Setup
1. Install the [Netlify CLI](https://www.netlify.com/products/dev/):
```sh
npm i -g netlify-cli
```If you have previously installed the Netlify CLI, you should update it to the latest version:
```sh
npm i -g netlify-cli@latest
```2. Sign up and log in to Netlify:
```sh
netlify login
```3. Create a new site:
```sh
netlify init
```## Development
The Netlify CLI starts your app in development mode, rebuilding assets on file changes.
```sh
npm run dev
```Open up [http://localhost:3000](http://localhost:3000), and you should be ready to go!
## Deployment
There are two ways to deploy your app to Netlify, you can either link your app to your git repo and have it auto deploy changes to Netlify, or you can deploy your app manually. If you've followed the setup instructions already, all you need to do is run this:
```sh
# preview deployment
netlify deploy --build# production deployment
netlify deploy --build --prod
```