Added flask web app

This commit is contained in:
2024-02-25 10:51:37 +01:00
parent 306a739e08
commit b35aa593d2
17 changed files with 362 additions and 2 deletions

25
.vscode/launch.json vendored
View File

@@ -11,6 +11,29 @@
"program": "${workspaceFolder}/alert-scheduler/src/watchdog.py",
"console": "integratedTerminal",
"cwd": "${workspaceFolder}/alert-scheduler"
}
},
{
"name": "Web (Flask)",
"type": "python",
"request": "launch",
"module": "flask",
"env": {
"FLASK_APP": "web.src.webapp"
},
"args": [
"run",
"--no-debugger",
"--no-reload"
]
},
{
"name": "Python: Current File",
"type": "python",
"request": "launch",
"program": "${file}",
"env": {
"FLASK_ENV": "development"
}
}
]
}