0

I wrote flask web which I was testing by running the server like ‘python src/run.py’

Now recently I decided to use flask cli approach.

So I did ‘export FLASK_APP=src/run.py‘

then ‘flask run‘ it work starts web app at 5000 by default but nothing opens in browser.

I do not get any error. Do I have to create FlaskGroup to create flask cli run command explicitly?

Ciasto piekarz
  • 7,853
  • 18
  • 101
  • 197

0 Answers0