Run the dev server:
npm run dev
First, build your app for production:
npm run build
Then run the app in production mode:
npm start
Now 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 npm run build
build/server
build/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.
The node process requires the following environment variables to be set:
ENGELSYSTEM_URL
: Points to the Engelsystem installation, used to link to it. Including http protocol and without trailing/
.DATABASE_URL
: Points to Engelsystem's MariaDB database. Format:mysql://<username>:<password>@<host>:<port>/<database>
EVENT_TZ
: Timezone of the event and timezone in which the database entries are saved, e.g.Europe/Berlin