This branch is step one. See the other branches in this repository for a description of the code changes made in each step as we build a production Remix app that uses Strapi for its data API.
- Fork this repository, and then clone the fork locally.
cd
into the cloned directory, and runnpm install
to install dependencies.- Check out the Remix dev server:
npm run dev
. The dev server automatically restarts when you make code changes. View it in your browser at http://localhost:3000/.
Move to the next step with git checkout step-2
when you're ready. You'll need to first stop the Remix dev server with Ctrl + C if it's running.
From your terminal:
npm run dev
This starts your app in development mode, rebuilding assets on file changes.
First, build your app for production:
npm run build
Then run the app in production mode:
npm start