From 1c72863c00721fa3e3803b8f73b6e42f52e32971 Mon Sep 17 00:00:00 2001 From: Nathan Powell Date: Sat, 28 Apr 2018 10:01:44 -0400 Subject: [PATCH] Adding Windows PowerShell specfic docs --- examples/tutorial/README.rst | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/examples/tutorial/README.rst b/examples/tutorial/README.rst index 1afb1ebd..03408adf 100644 --- a/examples/tutorial/README.rst +++ b/examples/tutorial/README.rst @@ -31,6 +31,11 @@ Or on Windows cmd:: py -3 -m venv venv venv\Scripts\activate.bat +Or on Windows PowerShell:: + + python -m venv venv + venv\Scripts\activate + Install Flaskr:: pip install -e . @@ -57,6 +62,12 @@ Or on Windows cmd:: set FLASK_ENV=development flask run +Or on Windows PowerShell:: + + Set-Item Env:FLASK_APP "flaskr" + Set-Item Env:FLASK_ENV "development" + flask run + Open http://127.0.0.1:5000 in a browser.