switch to Quart framework
This commit is contained in:
parent
b97355bb89
commit
73b5b7993f
38 changed files with 1259 additions and 938 deletions
|
|
@ -6,7 +6,7 @@ start-app() {
|
|||
cp -rv /opt/live-app/{freak,pyproject.toml,docker-run.sh} ./
|
||||
cp -v /opt/live-app/.env.prod .env
|
||||
pip install -e .
|
||||
flask --app freak run --host=0.0.0.0
|
||||
hypercorn freak:app -b 0.0.0.0:5000
|
||||
}
|
||||
|
||||
[[ "$1" = "" ]] && start-app
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue