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:
@@ -117,10 +117,10 @@ docker-compose -f docker-compose.dev.yml up -d
|
||||
docker-compose -f docker-compose.dev.yml ps
|
||||
|
||||
# Start services locally (in separate terminals)
|
||||
go run ./cmd/auth-service/main.go # Port 8081
|
||||
go run ./cmd/identity-service/main.go # Port 8082
|
||||
go run ./cmd/authz-service/main.go # Port 8083
|
||||
go run ./cmd/audit-service/main.go # Port 8084
|
||||
go run ./cmd/auth-service/*.go # Port 8081
|
||||
go run ./cmd/identity-service/*.go # Port 8082
|
||||
go run ./cmd/authz-service/*.go # Port 8083
|
||||
go run ./cmd/audit-service/*.go # Port 8084
|
||||
```
|
||||
|
||||
#### Option 2: Full Docker Deployment
|
||||
|
||||
Reference in New Issue
Block a user