Add resting heart rate and skin temp deviation to sleep modal

Added fields for resting heart rate and average skin temperature deviation to the HealthSleepAddEditModalComponent, including support in form data, submission logic, and i18n translations for both English and Portuguese. Updated documentation to mention DB_HOST as a required environment variable. #426
This commit is contained in:
João Vitória Silva
2025-12-07 15:28:10 +00:00
parent 7d62434da2
commit d65363f07e
4 changed files with 40 additions and 5 deletions

View File

@@ -68,11 +68,11 @@ Edit `.env` file.
nano /path/to/endurain/.env
```
Adjust the environment variables and set keys. You definitely have to adjust `FRONTEND_DIR` and `BACKEND_DIR`.
Environment variables are explained in the
[Environment Variables Guide](advanced-started.md).
Adjust the environment variables and set keys. You definitely have to adjust `FRONTEND_DIR`, `BACKEND_DIR` and `DB_HOST`.
Environment variables are explained in the [Environment Variables Guide](advanced-started.md).
```env
DB_HOST=localhost
BACKEND_DIR="/path/to/endurain/backend/app"
FRONTEND_DIR="/path/to/endurain/frontend/app/dist"
DATA_DIR="/path/to/endurain_data/data"