a74a540295
The crm-preview launch config hardcoded an absolute machine path for CRM_FRONTEND_DIR, breaking the preview on any other clone path. Derive it from $PWD at launch time so the repo is self-contained. Clears the sole blocker from the portability-standard audit.
12 lines
342 B
JSON
12 lines
342 B
JSON
{
|
|
"version": "0.0.1",
|
|
"configurations": [
|
|
{
|
|
"name": "crm-preview",
|
|
"runtimeExecutable": "bash",
|
|
"runtimeArgs": ["-c", "CRM_DB_PATH=/tmp/crm_preview.db CRM_DATA_DIR=/tmp/crm_preview_data CRM_FRONTEND_DIR=$PWD/frontend CRM_PORT=8765 CRM_ENV=development exec python3 backend/server.py"],
|
|
"port": 8765
|
|
}
|
|
]
|
|
}
|