Added flask web app
This commit is contained in:
25
.vscode/launch.json
vendored
25
.vscode/launch.json
vendored
@@ -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"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user