@@ -48,10 +48,14 @@ go build -o config-validator ./cmd/config-validator
4848
4949### Configuration
5050
51- 1 . ** Copy .env example file**
51+ 1 . ** Copy environment example file**
5252
5353``` bash
54- cp configs/.env.example.new configs/.env
54+ # For local development
55+ cp configs/.env.local.example configs/.env
56+
57+ # Or for YAML-based configuration
58+ cp configs/env.yaml.example env.yaml
5559```
5660
57612 . ** Set required environment variables**
@@ -387,22 +391,34 @@ COPIER_DEBUG=true ./examples-copier
387391examples-copier/
388392├── app.go # Main application entry point
389393├── cmd/
390- │ └── config-validator/ # CLI validation tool
394+ │ ├── config-validator/ # CLI validation tool
395+ │ └── test-webhook/ # Webhook testing tool
391396├── configs/
392397│ ├── environment.go # Environment configuration
393- │ ├── .env.example.new # Environment template
394- │ └── config.example.yaml # Config template
398+ │ ├── .env.local.example # Local environment template
399+ │ ├── env.yaml.example # YAML environment template
400+ │ └── copier-config.example.yaml # Config template
395401├── services/
396402│ ├── pattern_matcher.go # Pattern matching engine
397403│ ├── config_loader.go # Config loading & validation
398404│ ├── audit_logger.go # MongoDB audit logging
399405│ ├── health_metrics.go # Health & metrics endpoints
400406│ ├── file_state_service.go # Thread-safe state management
401407│ ├── service_container.go # Dependency injection
402- │ └── webhook_handler_new.go # New webhook handler
403- └── types/
404- ├── config.go # Configuration types
405- └── types.go # Core types
408+ │ ├── webhook_handler_new.go # Webhook handler
409+ │ ├── github_auth.go # GitHub authentication
410+ │ ├── github_read.go # GitHub read operations
411+ │ ├── github_write_to_target.go # GitHub write operations
412+ │ └── slack_notifier.go # Slack notifications
413+ ├── types/
414+ │ ├── config.go # Configuration types
415+ │ └── types.go # Core types
416+ └── docs/
417+ ├── ARCHITECTURE.md # Architecture overview
418+ ├── CONFIGURATION-GUIDE.md # Complete config reference
419+ ├── DEPLOYMENT.md # Deployment guide
420+ ├── FAQ.md # Frequently asked questions
421+ └── ... # Additional documentation
406422```
407423
408424### Service Container
@@ -452,9 +468,10 @@ docker run -p 8080:8080 --env-file .env examples-copier
452468
453469- ** [ Pattern Matching Cheat Sheet] ( docs/PATTERN-MATCHING-CHEATSHEET.md ) ** - Quick pattern syntax reference
454470- ** [ Architecture] ( docs/ARCHITECTURE.md ) ** - System design and components
455- - ** [ Migration Guide] ( docs/MIGRATION-GUIDE.md ) ** - Migrate from legacy JSON config
456471- ** [ Troubleshooting] ( docs/TROUBLESHOOTING.md ) ** - Common issues and solutions
457472- ** [ FAQ] ( docs/FAQ.md ) ** - Frequently asked questions
473+ - ** [ Debug Logging] ( docs/DEBUG-LOGGING.md ) ** - Debug logging configuration
474+ - ** [ Deprecation Tracking] ( docs/DEPRECATION-TRACKING-EXPLAINED.md ) ** - How deprecation tracking works
458475
459476### Features
460477
0 commit comments