quality of life improvements for the launch.json template (#2082)

Co-authored-by: Jos Van der westhuizen <jos@danser.ai>
This commit is contained in:
josvdw
2024-08-07 23:39:30 -07:00
committed by GitHub
parent bdaaebe955
commit f411b9cb55

View File

@@ -39,7 +39,8 @@
"--reload", "--reload",
"--port", "--port",
"9000" "9000"
] ],
"consoleTitle": "Model Server"
}, },
{ {
"name": "API Server", "name": "API Server",
@@ -58,7 +59,8 @@
"--reload", "--reload",
"--port", "--port",
"8080" "8080"
] ],
"consoleTitle": "API Server"
}, },
{ {
"name": "Indexing", "name": "Indexing",
@@ -72,7 +74,8 @@
"LOG_LEVEL": "DEBUG", "LOG_LEVEL": "DEBUG",
"PYTHONUNBUFFERED": "1", "PYTHONUNBUFFERED": "1",
"PYTHONPATH": "." "PYTHONPATH": "."
} },
"consoleTitle": "Indexing"
}, },
// Celery and all async jobs, usually would include indexing as well but this is handled separately above for dev // Celery and all async jobs, usually would include indexing as well but this is handled separately above for dev
{ {
@@ -90,7 +93,8 @@
}, },
"args": [ "args": [
"--no-indexing" "--no-indexing"
] ],
"consoleTitle": "Background Jobs"
}, },
// For the listner to access the Slack API, // For the listner to access the Slack API,
// DANSWER_BOT_SLACK_APP_TOKEN & DANSWER_BOT_SLACK_BOT_TOKEN need to be set in .env file located in the root of the project // DANSWER_BOT_SLACK_APP_TOKEN & DANSWER_BOT_SLACK_BOT_TOKEN need to be set in .env file located in the root of the project
@@ -125,5 +129,17 @@
//"tests/unit/danswer/llm/answering/test_prune_and_merge.py" //"tests/unit/danswer/llm/answering/test_prune_and_merge.py"
] ]
} }
],
"compounds": [
{
"name": "Run Danswer",
"configurations": [
"Web Server",
"Model Server",
"API Server",
"Indexing",
"Background Jobs",
]
}
] ]
} }