feat: one-click deployment, integration tests, pipeline automation
Open-source Excel-native EPM and consolidation for SAP & Dynamics
Brought to you by:
konsolid-at
Originally created by: grynn-in
docker-compose.yml with 11 services (ClickHouse, MariaDB, Redis x2, Frappe backend/worker/scheduler, Cube.js, Caddy reverse proxy, configurator, dbt init). Single ./deploy.sh command bootstraps everything with auto-generated passwords, healthchecks, site creation, and demo data seeding.dbt build after any consolidation/allocation doctype save via doc_events hooks on 9 doctypes.epm_staging tables (warn 72h, error 168h), ClickHouse sync failure tracking with realtime error events, check_health() function, upgraded /api/method/konsol.api.health endpoint../deploy.sh backup dumps MariaDB + ClickHouse + Frappe files with 7-day rotation and optional S3 upload. ./deploy.sh restore --from <path> restores everything.| Area | Files |
|---|---|
| Deployment | deploy.sh, docker-compose.yml, docker/ (5 files), .env.example, cube/cube.js |
| Tests | tests/integration/ (4 test files + conftest.py) |
| dbt | _staging__sources.yml (freshness) |
| Docs | deployment-guide.md (rewritten) |
| Git | .gitignore (backups, credentials) |
tasks.py: run_dbt_build_async(), on_consolidation_doc_update() hookhooks.py: doc_events for 9 consolidation/allocation doctypesclickhouse.py: sync failure tracking, check_health(), realtime error eventsapi.py: upgraded health endpoint with ClickHouse statusinstall.py: Docker configurator EPM Settings setupdocker compose config validates without errors./deploy.sh runs successfully on a fresh Ubuntu 22.04 serverpytest tests/integration/ -v passes with ClickHouse running./deploy.sh backup creates backup in ./backups/./deploy.sh --domain example.com configures Caddy with auto-SSL🤖 Generated with Claude Code
Ticket changed by: grynn-in