How to run a flask app using CLI? the example dont work... #172
Unanswered
aliencaocao
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have the hello world Dash app:
where app is just a Flask app.
I cannot figure out how to run it using cli:
python -m socketify app:app --ws app:ws --host 0.0.0.0 --port 8050 --workers 8
givesocketify interface must be callable with 1 parameter def run(app: App)
. But I dont know what is run function does and even after I defined one it still give me the same errorBeta Was this translation helpful? Give feedback.
All reactions