README explaination for .env

This commit is contained in:
waltem01 2024-01-11 13:18:48 +01:00
parent 044bad3f60
commit 159255836f

View File

@ -32,3 +32,7 @@ You can preview the production build with `npm run preview`.
1. Navigate into the production environment with `cd build/` 1. Navigate into the production environment with `cd build/`
2. Install dependencies with `npm ci --omit dev` 2. Install dependencies with `npm ci --omit dev`
3. Start the production server with `node .` 3. Start the production server with `node .`
## Note
If the Matrix API is executed on a separate device, although this has been explicitly advised against, you will need to point the Webserver to it by setting the environment variables shown in [`.env.example`](.env.example).