Commit Graph

10 Commits

Author SHA1 Message Date
William Valentin
2bda21dc2a docs: add configuration management commands to README
- Document the useful show-config.js script and related npm scripts
- Add section explaining bun run config, config:env, config:help commands
- These commands help developers understand the unified configuration system
- Script is functional and well-integrated, so keeping it and making it more discoverable
2025-09-08 22:08:37 -07:00
William Valentin
a7e5c1f7cb docs: major README cleanup and simplification
- Remove irrelevant deployment and production information (app not deployed yet)
- Focus on current development state and local development workflow
- Consolidate redundant sections and remove duplicate commands
- Simplify quick start to focus on development setup
- Remove complex deployment scenarios (K8s, cloud providers, production scripts)
- Streamline Docker section to focus on development use
- Consolidate troubleshooting to common development issues
- Remove extensive production deployment guides and cloud provider instructions
- Simplify API documentation to overview level
- Focus on development workflow rather than operational concerns

Result: README is now ~50% shorter and focused on actual current capabilities
2025-09-08 22:05:40 -07:00
William Valentin
36dcdbd459 docs: fix broken references and update paths
- Update README.md to remove references to deleted migration/deployment docs
- Fix CONTRIBUTING.md to point to correct documentation paths
- Remove broken references in API.md to non-existent files
- Update ENVIRONMENT_VARIABLES.md to reference existing documentation
- Ensure all documentation links work correctly after reorganization
2025-09-08 21:38:07 -07:00
William Valentin
79394455ee docs: update README to reflect unified configuration system
- Add Configuration section explaining unified config approach
- Document config helper commands (bun run config, config:help)
- Update deployment section to focus on essential overrides
- Remove references to deleted deployment infrastructure
- Explain single source of truth philosophy
- Provide examples of environment variable usage
- Emphasize smart defaults and type safety
2025-09-08 21:24:42 -07:00
William Valentin
430ed7458b Add comprehensive deployment solutions and fix production deployment
🚀 New Deployment Commands:
- deploy-local: Docker-based local deployment (http://localhost:8080)
- deploy-demo: Demo deployment with development settings
- deploy-prod-quick: Production deployment with auto-generated secrets
- deploy-prod-configured: Production deployment with pre-configured secrets
- stop-local: Stop local Docker deployment

🔧 Fixes:
- Fixed deploy-prod-quick to properly generate secure secrets
- Updated local deployments to use development environment
- Fixed Docker Compose environment variable handling
- Improved error handling and user feedback

📚 Documentation:
- Added Quick Deployment Guide (docs/QUICK_DEPLOYMENT.md)
- Updated README with practical deployment guidance
- Clear explanation of deployment options and use cases
- Troubleshooting section for common issues

 Features:
- Auto-generated secure JWT and session secrets for production
- Local Docker deployment with persistent CouchDB
- Clear separation between development and production processes
- Comprehensive deployment option matrix

🧪 Verification:
-  Local deployment: make deploy-local (working with Docker)
-  Production build: JWT_SECRET=x SESSION_SECRET=y make build-prod (working)
-  Development build: make build (working)
-  All existing functionality preserved

🎯 Ready for use:
- Immediate testing: make deploy-local
- Production deployment: make deploy-prod-quick
2025-09-08 19:32:52 -07:00
William Valentin
beb9d84071 Fix build process and add production build support
🔧 Build Process Improvements:
- Update default 'build' target to use development mode
- Add new 'build-prod' target for production builds with validation
- Fix 'deploy-prod-quick' to use production build command
- Update 'build-test' to use development build (safer for CI)

📚 Documentation:
- Add comprehensive Production Build Guide (docs/deployment/PRODUCTION_BUILD.md)
- Include security requirements, configuration methods, and troubleshooting
- Update main documentation index with production build guide
- Update README with both build command options

 Features:
- Development builds work without security configuration
- Production builds require proper JWT/SESSION secrets
- Clear separation between dev and prod build processes
- Comprehensive production deployment documentation

🔒 Security:
- Enforced JWT_SECRET validation for production builds
- Clear documentation of required security configurations
- Examples for CI/CD integration with proper secret management
- Best practices for production deployment

🧪 Verification:
-  Development build: make build (works with warnings)
-  Production build validation: make build-prod (fails without secrets)
-  Production build with secrets: works correctly
-  All existing functionality preserved
2025-09-08 19:23:42 -07:00
William Valentin
430bc6acf8 Remove deprecated entries from Makefile and update documentation
🗑️ Removed:
- Legacy Support section with deprecated targets (k8s-deploy, k8s-undeploy, deploy, undeploy)
- 18 lines of deprecated makefile targets and warnings

📚 Documentation Updates:
- README.md: Updated Kubernetes deployment commands and project structure
- KUSTOMIZE_MIGRATION.md: Replaced deprecated commands with current ones
- k8s-kustomize/README.md: Updated deployment command references
- APP_NAME_CONFIGURATION.md: Updated deployment example command
- config/README.md: Replaced migration script references with config generation
- ARCHITECTURE_MIGRATION.md: Updated to reflect completed migration status
- PROJECT_STRUCTURE.md: Updated services structure to show unified database service
- IMPLEMENTATION_SUMMARY.md: Updated legacy compatibility notes

 Improvements:
- Clean Makefile with only current, supported targets
- Consistent documentation referring to current command structure
- Removed all references to deleted CouchDB service files
- Updated project structure diagrams to reflect current architecture

🧪 Verification:
- All 292 unit tests passing
- Integration tests passing
- Makefile help command displays cleanly
- No deprecated command references remain in documentation
2025-09-08 19:07:26 -07:00
William Valentin
fb26939a9a feat: Add Makefile to organize project commands and enhance usability 2025-09-06 02:50:59 -07:00
William Valentin
79bfdeaa94 Use npm script for pre-commit hook to avoid bunx issues 2025-09-06 01:54:15 -07:00
William Valentin
e48adbcb00 Initial commit: Complete NodeJS-native setup
- Migrated from Python pre-commit to NodeJS-native solution
- Reorganized documentation structure
- Set up Husky + lint-staged for efficient pre-commit hooks
- Fixed Dockerfile healthcheck issue
- Added comprehensive documentation index
2025-09-06 01:42:48 -07:00