Run Flask 1.* on Windows 10

18/05/2019, 18:01

First of all install and use Cmder

// cd to your folder
set FLASK_ENV=development
flask run

If you try to execute in PowerShell this commands:

flask run

If youк flask application runs with and located inside folder, use following:

set FLASK_APP=app
flask run

An Error message will appear:

Error: Could not locate flask application. You did not provide the FLASK_APP environment variable

Under Win 10 and PowerShell you should change syntax to:

flask run

Better way is to use Cmder, this is most adequate terminal emulator for Windows for now.