mirror of
https://github.com/khoaliber/khoj.git
synced 2026-03-02 21:19:12 +00:00
Try pre-install deps, use custom launch.json for dev container
Previous attempts have not been sufficient. Let's see if this works
This commit is contained in:
29
.devcontainer/launch.json
Normal file
29
.devcontainer/launch.json
Normal file
@@ -0,0 +1,29 @@
|
||||
{
|
||||
"version": "0.2.0",
|
||||
"configurations": [
|
||||
{
|
||||
"name": "Launch Khoj",
|
||||
"type": "debugpy",
|
||||
"request": "launch",
|
||||
"module": "src.khoj.main",
|
||||
"console": "integratedTerminal",
|
||||
"justMyCode": false,
|
||||
"sudo": true,
|
||||
"args": [
|
||||
"-v",
|
||||
"--anonymous-mode",
|
||||
"--non-interactive",
|
||||
"--port=42110"
|
||||
],
|
||||
"envFile": "${workspaceFolder}/.env",
|
||||
"env": {
|
||||
"KHOJ_ADMIN_EMAIL": "admin",
|
||||
"KHOJ_ADMIN_PASSWORD": "admin",
|
||||
"USE_EMBEDDED_DB": "true",
|
||||
"KHOJ_DEBUG": "true",
|
||||
"KHOJ_TELEMETRY_DISABLED": "true",
|
||||
"PROMPTRACE_DIR": "${workspaceFolder}/promptrace"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user