Skip to content

Commit 19e9021

Browse files
claudeenko
authored andcommitted
docs(all): Use Docker Compose as primary Quick Start, rename docker scripts
Make Docker Compose the default development path in the README with a note about hot reload support. Remove the separate Local Development section. Rename docker:up to docker:db:up to clarify they only start PostgreSQL.
1 parent 3599b57 commit 19e9021

File tree

4 files changed

+9
-11
lines changed

4 files changed

+9
-11
lines changed

AGENTS.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,8 +53,8 @@ pnpm check # Lint + format
5353
pnpm test # Run all tests
5454

5555
# Docker
56-
pnpm docker:up # Start database
57-
pnpm docker:down # Stop database
56+
pnpm docker:db:up # Start PostgreSQL + PostGIS
57+
pnpm docker:down # Stop docker stack
5858
```
5959

6060
## Quick Reference

README.md

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -13,14 +13,12 @@ A self-hostable web application for relationship management. Think of it as your
1313
## Quick Start
1414

1515
```bash
16-
# Prerequisites: Node.js 24+, pnpm 8+, PostgreSQL 18+ (or Docker)
17-
pnpm install
18-
pnpm docker:up
19-
pnpm migrate
20-
pnpm dev
16+
docker compose up -d
17+
docker compose exec backend pnpm migrate
18+
docker compose exec backend pnpm seed # Optional: populate with sample data
2119
```
2220

23-
Frontend runs at `http://localhost:5173`, backend at `http://localhost:3000`.
21+
The app is available at `http://localhost:8080` (nginx reverse proxy). This setup also works well for development — source code is mounted into the containers with hot reload enabled.
2422

2523
## Documentation
2624

docs/development.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ pnpm pgtyped:watch # Watch and regenerate types
3737
pnpm seed # Seed database with test data
3838

3939
# Docker
40-
pnpm docker:up # Start Docker services
40+
pnpm docker:db:up # Start PostgreSQL + PostGIS
4141
pnpm docker:down # Stop Docker services
4242
```
4343

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,8 @@
2525
"pgtyped": "pnpm --filter backend run pgtyped",
2626
"pgtyped:watch": "pnpm --filter backend run pgtyped:watch",
2727
"seed": "pnpm --filter backend run seed",
28-
"docker:up": "docker-compose up -d",
29-
"docker:down": "docker-compose down",
28+
"docker:db:up": "docker compose up postgres -d",
29+
"docker:down": "docker compose down",
3030
"prepare": "husky && pnpm --filter frontend run sync",
3131
"release": "semantic-release",
3232
"version:sync": "node scripts/sync-versions.mjs",

0 commit comments

Comments
 (0)