Create a preferences.arc
file in the root with the following contents:
@sandbox
livereload false
# NODE_ENV development is required when running the dev server
@env
testing
NODE_ENV development
The following command will run two processes during development when using Architect as your server.
- Your Architect server sandbox
- The Remix development server
$ npm run dev
Your file changes are watched, and assets are rebuilt upon change.
Open up http://localhost:3333 and you should be ready to go!
Before you can deploy, you'll need to do some setup with AWS:
If you make it through all of that, you're ready to deploy!
-
build the app for production:
npm run build
-
Deploy with
arc
arc deploy production
You're in business!