https://github.com/rfoel/remix-serverless
Repositório usado na postagem Remix com serverless
https://github.com/rfoel/remix-serverless
remix serverless
Last synced: 11 months ago
JSON representation
Repositório usado na postagem Remix com serverless
- Host: GitHub
- URL: https://github.com/rfoel/remix-serverless
- Owner: rfoel
- Created: 2022-10-20T23:50:08.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2022-10-20T23:52:14.000Z (over 3 years ago)
- Last Synced: 2025-04-18T20:49:20.105Z (12 months ago)
- Topics: remix, serverless
- Language: JavaScript
- Homepage: https://rafaelfranco.com/blog/remix-com-serverless
- Size: 861 KB
- Stars: 5
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Welcome to Remix!
- [Remix Docs](https://remix.run/docs)
## Development
The following command will run two processes during development when using Architect as your server.
- Your Architect server sandbox
- The Remix development server
```sh
$ npm run dev
```
Your file changes are watched, and assets are rebuilt upon change.
Open up [http://localhost:3333](http://localhost:3333) and you should be ready to go!
## Deploying
Before you can deploy, you'll need to do some setup with AWS:
- First [install the AWS CLI](https://docs.aws.amazon.com/cli/latest/userguide/install-cliv2.html)
- Then [follow the Architect setup instructions](https://arc.codes/docs/en/guides/get-started/detailed-aws-setup).
If you make it through all of that, you're ready to deploy!
1. build the app for production:
```sh
npm run build
```
2. Deploy with `arc`
```sh
arc deploy production
```
You're in business!