fix(docs): Fix service run commands to include all package files
- Change from 'go run ./cmd/{service}/main.go' to 'go run ./cmd/{service}/*.go'
- go run with single file doesn't include other files in the package
- Service implementations are in separate _fx.go files
- Using wildcard includes all .go files in the package
- Update README.md and SUMMARY.md with correct commands
- Fixes 'undefined: provideXService' errors when running services
This commit is contained in:
@@ -196,16 +196,16 @@ Then start services locally:
|
||||
|
||||
```bash
|
||||
# Terminal 1: Auth Service
|
||||
go run ./cmd/auth-service/main.go
|
||||
go run ./cmd/auth-service/*.go
|
||||
|
||||
# Terminal 2: Identity Service
|
||||
go run ./cmd/identity-service/main.go
|
||||
go run ./cmd/identity-service/*.go
|
||||
|
||||
# Terminal 3: Authz Service
|
||||
go run ./cmd/authz-service/main.go
|
||||
go run ./cmd/authz-service/*.go
|
||||
|
||||
# Terminal 4: Audit Service
|
||||
go run ./cmd/audit-service/main.go
|
||||
go run ./cmd/audit-service/*.go
|
||||
```
|
||||
|
||||
### Option 2: Full Docker Compose (All Services in Docker)
|
||||
|
||||
Reference in New Issue
Block a user