Run the dev server:
bun run dev
First, build your app for production:
bun run buildThen run the app in production mode:
bun startNow you'll need to pick a host to deploy it to.
If you're familiar with deploying Node applications, the built-in Remix app server is production-ready.
Make sure to deploy the output of bun run build
build/serverbuild/client
This template comes with Tailwind CSS already configured for a simple default starting experience. You can use whatever css framework you prefer. See the Vite docs on css for more information.
This project uses Postgres as the database in a Docker container. See the database setup instructions for more information.
Create a .env file in the root directory of the project with the following content:
NODE_ENV=development
DATABASE_URL=postgresql://postgres:password@localhost:5432/remix-master?sslmode=disableThe database can be started with the following command:
bun run db:setupThis will start a Postgres container and create a database named remix-master.