ADR 0021-0026 for the new course of 2 December 2026, roadmap of phases 10-24. The desktop application is gone: Docker is the only form, and outside a container the server runs only for development and tests with --data-dir, on this computer only. Lighter image (829 MB to 410 MB), rotating logs, backtest and learning as one-shot commands. refs #113 #114 #115 #78 #80 #81 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Co-authored-by: Alberto Balbo <alberto.balbo.96@gmail.com>
57 lines
2.1 KiB
JSON
57 lines
2.1 KiB
JSON
{
|
|
// Debugging Anubis from VS Code (needs the C# extension, ms-dotnettools.csharp).
|
|
// Each configuration builds the server in Debug first and opens the browser once it listens.
|
|
"version": "0.2.0",
|
|
"configurations": [
|
|
{
|
|
"name": "Anubis: server, dati di prova",
|
|
"type": "coreclr",
|
|
"request": "launch",
|
|
"preLaunchTask": "build-server",
|
|
"program": "${workspaceFolder}/src/Anubis.Server/bin/Debug/net10.0/Anubis.Server.dll",
|
|
// The shape of the container (ADR 0022): a data folder of its own, ignored by git, and the development values of
|
|
// docker-compose.yml. Outside a container the server answers only this computer.
|
|
"args": ["--data-dir", "${workspaceFolder}/artifacts/debug-data"],
|
|
"cwd": "${workspaceFolder}/src/Anubis.Server",
|
|
"env": {
|
|
"ASPNETCORE_ENVIRONMENT": "Development",
|
|
"ANUBIS_DB_ENGINE": "sqlite",
|
|
"ANUBIS_SECRET_KEY": "dev-only-secret-key-change-me-0123456789",
|
|
"ANUBIS_ADMIN_PASSWORD": "dev-only-change-me",
|
|
"ANUBIS_ALLOW_LIVE": "0"
|
|
},
|
|
"console": "internalConsole",
|
|
"stopAtEntry": false,
|
|
"serverReadyAction": {
|
|
"action": "openExternally",
|
|
"pattern": "Now listening on: (https?://[^\\s\"]+)"
|
|
}
|
|
},
|
|
{
|
|
"name": "Anubis: modalità dimostrativa",
|
|
"type": "coreclr",
|
|
"request": "launch",
|
|
"preLaunchTask": "build-server",
|
|
"program": "${workspaceFolder}/src/Anubis.Server/bin/Debug/net10.0/Anubis.Server.dll",
|
|
// The data of SPEC appendix F, in a folder and a database apart (the same as "tasks seed-demo").
|
|
"args": ["--demo"],
|
|
"cwd": "${workspaceFolder}/src/Anubis.Server",
|
|
"env": {
|
|
"ASPNETCORE_ENVIRONMENT": "Development"
|
|
},
|
|
"console": "internalConsole",
|
|
"stopAtEntry": false,
|
|
"serverReadyAction": {
|
|
"action": "openExternally",
|
|
"pattern": "Now listening on: (https?://[^\\s\"]+)"
|
|
}
|
|
},
|
|
{
|
|
"name": "Anubis: aggancia a un processo",
|
|
"type": "coreclr",
|
|
"request": "attach",
|
|
"processId": "${command:pickProcess}"
|
|
}
|
|
]
|
|
}
|