style(13-03): apply Prettier formatting across repo
Mechanical reformat — no logic changes. 398 files changed, 19125 insertions(+), 16457 deletions(-). Prettier 3.8.4 with .prettierrc (singleQuote:true, semi:true, tabWidth:2, trailingComma:all, printWidth:100). Isolated per D-13-08 for reviewability.
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
<!-- generated-by: gsd-doc-writer -->
|
||||
|
||||
# FamilySync — Getting Started
|
||||
|
||||
This guide walks from a fresh clone to a running local development environment.
|
||||
@@ -7,11 +8,11 @@ This guide walks from a fresh clone to a running local development environment.
|
||||
|
||||
## Prerequisites
|
||||
|
||||
| Requirement | Version | Notes |
|
||||
|-------------|---------|-------|
|
||||
| Node.js | `22 LTS` | Matches the `node:22-alpine` base in `apps/api/Dockerfile` |
|
||||
| pnpm | `11.5.1` | Pinned in `package.json` `packageManager` field; enable via `corepack enable pnpm` |
|
||||
| Docker + Docker Compose | Any recent version | Used to run MariaDB and Redis locally |
|
||||
| Requirement | Version | Notes |
|
||||
| ----------------------- | ------------------ | ---------------------------------------------------------------------------------- |
|
||||
| Node.js | `22 LTS` | Matches the `node:22-alpine` base in `apps/api/Dockerfile` |
|
||||
| pnpm | `11.5.1` | Pinned in `package.json` `packageManager` field; enable via `corepack enable pnpm` |
|
||||
| Docker + Docker Compose | Any recent version | Used to run MariaDB and Redis locally |
|
||||
|
||||
**Node version management:** If you use nvm or fnm, install Node 22 LTS and set it as the default before continuing. There is no `.nvmrc` in the repo; the target version comes from the Dockerfile.
|
||||
|
||||
@@ -111,9 +112,11 @@ MariaDB may still be initialising. Wait a few seconds and retry. If the error pe
|
||||
|
||||
**`Cannot connect to DB_HOST=mariadb`**
|
||||
The API is running on the host but `.env` still has `DB_HOST=mariadb` (the Docker network hostname). Override it inline:
|
||||
|
||||
```bash
|
||||
DB_HOST=localhost pnpm --filter @familysync/api dev
|
||||
```
|
||||
|
||||
Or set `DB_HOST=localhost` directly in your `.env` for host-side dev.
|
||||
|
||||
**API starts but all requests return 401 / redirect to Authelia**
|
||||
|
||||
Reference in New Issue
Block a user