- Added monitoring metrics for project creation success and error handling in `ProjectRepository`. - Implemented similar monitoring for scenario creation in `ScenarioRepository`. - Refactored `run_monte_carlo` function in `simulation.py` to include timing and success/error metrics. - Introduced new CSS styles for headers, alerts, and navigation buttons in `main.css` and `projects.css`. - Created a new JavaScript file for navigation logic to handle chevron buttons. - Updated HTML templates to include new navigation buttons and improved styling for buttons. - Added tests for reporting service and routes to ensure proper functionality and access control. - Removed unused imports and optimized existing test files for better clarity and performance.
25 lines
673 B
Plaintext
25 lines
673 B
Plaintext
# Production Environment Configuration
|
|
ENVIRONMENT=production
|
|
DEBUG=false
|
|
LOG_LEVEL=WARNING
|
|
|
|
# Database Configuration (MUST be set externally - no defaults)
|
|
DATABASE_HOST=
|
|
DATABASE_PORT=5432
|
|
DATABASE_USER=
|
|
DATABASE_PASSWORD=
|
|
DATABASE_NAME=
|
|
DATABASE_DRIVER=postgresql
|
|
|
|
# Application Settings
|
|
CALMINER_EXPORT_MAX_ROWS=100000
|
|
CALMINER_IMPORT_MAX_ROWS=100000
|
|
CALMINER_EXPORT_METADATA=true
|
|
CALMINER_IMPORT_STAGING_TTL=3600
|
|
|
|
# Admin Seeding (for production - set strong password)
|
|
CALMINER_SEED_ADMIN_EMAIL=admin@calminer.com
|
|
CALMINER_SEED_ADMIN_USERNAME=admin
|
|
CALMINER_SEED_ADMIN_PASSWORD=CHANGE_THIS_VERY_STRONG_PASSWORD
|
|
CALMINER_SEED_ADMIN_ROLES=admin
|
|
CALMINER_SEED_FORCE=false |