pollo/README.md

39 lines
578 B
Markdown
Raw Normal View History

2023-11-21 16:05:53 -07:00
# Welcome to Remix!
2023-04-20 04:20:00 -06:00
2023-11-21 16:05:53 -07:00
- [Remix Docs](https://remix.run/docs)
2023-04-20 04:20:00 -06:00
2023-11-21 16:05:53 -07:00
## Development
2023-04-20 04:20:00 -06:00
2023-11-21 16:05:53 -07:00
From your terminal:
2023-04-20 04:20:00 -06:00
2023-11-21 16:05:53 -07:00
```sh
npm run dev
```
2023-11-17 00:40:29 -07:00
2023-11-21 16:05:53 -07:00
This starts your app in development mode, rebuilding assets on file changes.
2023-11-17 00:40:29 -07:00
2023-11-21 16:05:53 -07:00
## Deployment
2023-11-17 00:40:29 -07:00
2023-11-21 16:05:53 -07:00
First, build your app for production:
2023-04-20 04:20:00 -06:00
2023-11-21 16:05:53 -07:00
```sh
npm run build
```
2023-04-20 04:20:00 -06:00
2023-11-21 16:05:53 -07:00
Then run the app in production mode:
2023-04-20 04:20:00 -06:00
2023-11-21 16:05:53 -07:00
```sh
npm start
```
2023-09-04 23:44:48 -06:00
2023-11-21 16:05:53 -07:00
Now you'll need to pick a host to deploy it to.
2023-09-04 23:44:48 -06:00
2023-11-21 16:05:53 -07:00
### DIY
If you're familiar with deploying node applications, the built-in Remix app server is production-ready.
Make sure to deploy the output of `remix build`
- `build/`
- `public/build/`