Commit eae039d9 authored by Christophe Benz's avatar Christophe Benz
Browse files

Use .flaskenv, add VSCode launch config

parent 35dc6f5a
FLASK_APP=validata_ui
FLASK_ENV=development
FLASK_RUN_PORT=5601
{
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"name": "Python: Flask",
"type": "python",
"request": "launch",
"module": "flask",
"args": ["run", "--no-debugger"],
"env": { "FLASK_DEBUG": "0" },
"jinja": true
}
]
}
#! /bin/sh
export FLASK_APP=validata_ui
export FLASK_ENV=development
export FLASK_RUN_PORT=5601
# See also environment variables in .flaskenv and .env
flask run --with-threads
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment