- Implemented a new test suite for production API verification using curl, ensuring all critical endpoints respond correctly and return valid JSON. - Added frontend integration tests to check for critical errors in the UI and verify key UI elements are present and functional. - Created test data for quotes and project calculations to facilitate testing. - Developed a script to check offers in the Ordrestyring system, including detailed task descriptions. - Added tests for generating PDFs from quote data, ensuring the output is valid and contains expected information. - Implemented a test script for the Røsevangen project, integrating with the Ordrestyring API and verifying database entries.
63 lines
1.9 KiB
JSON
63 lines
1.9 KiB
JSON
{
|
|
"apps": [
|
|
{
|
|
"name": "tilbudgivern-unified",
|
|
"script": "unified-server.js",
|
|
"cwd": "/mnt/HC_Volume_103713257/tilbudgivern",
|
|
"interpreter": "/home/alex/.vscode-server/cli/servers/Stable-7d842fb85a0275a4a8e4d7e040d2625abbf7f084/server/node",
|
|
"env_file": ".env",
|
|
"watch": true,
|
|
"ignore_watch": ["node_modules", "frontend", "logs", "*.log"],
|
|
"watch_options": {
|
|
"followSymlinks": false
|
|
},
|
|
"env": {
|
|
"NODE_ENV": "production",
|
|
"PORT": "4031",
|
|
"ENHANCED_FEATURES": "enabled"
|
|
},
|
|
"restart_delay": 4000,
|
|
"max_restarts": 10,
|
|
"min_uptime": "10s",
|
|
"log_date_format": "YYYY-MM-DD HH:mm:ss Z",
|
|
"merge_logs": true,
|
|
"error_file": "./logs/pm2-error.log",
|
|
"out_file": "./logs/pm2-out.log"
|
|
},
|
|
{
|
|
"name": "analytics-api",
|
|
"script": "analytics-api-server.js",
|
|
"cwd": "/mnt/HC_Volume_103713257/tilbudgivern",
|
|
"interpreter": "/home/alex/.vscode-server/cli/servers/Stable-7d842fb85a0275a4a8e4d7e040d2625abbf7f084/server/node",
|
|
"env_file": ".env",
|
|
"watch": false,
|
|
"env": {
|
|
"NODE_ENV": "production",
|
|
"PORT": "4032"
|
|
},
|
|
"restart_delay": 4000,
|
|
"max_restarts": 10,
|
|
"min_uptime": "10s",
|
|
"error_file": "./logs/analytics-error.log",
|
|
"out_file": "./logs/analytics-out.log"
|
|
},
|
|
{
|
|
"name": "carpenter-tasks-api",
|
|
"script": "carpenter-tasks-api.js",
|
|
"cwd": "/mnt/HC_Volume_103713257/tilbudgivern",
|
|
"interpreter": "/home/alex/.vscode-server/cli/servers/Stable-7d842fb85a0275a4a8e4d7e040d2625abbf7f084/server/node",
|
|
"env_file": ".env",
|
|
"watch": false,
|
|
"env": {
|
|
"NODE_ENV": "production",
|
|
"PORT": "4033"
|
|
},
|
|
"restart_delay": 4000,
|
|
"max_restarts": 10,
|
|
"min_uptime": "10s",
|
|
"error_file": "./logs/carpenter-error.log",
|
|
"out_file": "./logs/carpenter-out.log"
|
|
}
|
|
]
|
|
}
|