From 7ccaebe63244e8b86fbf64a863f8406b3e65b86b Mon Sep 17 00:00:00 2001 From: Kraig Brockschmidt Date: Fri, 20 Nov 2020 12:24:47 -0700 Subject: [PATCH] Update README.md --- README.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index bc29ab4b3..068a76fd5 100644 --- a/README.md +++ b/README.md @@ -1,8 +1,10 @@ # Python/Flask Tutorial for Visual Studio Code * This sample contains the completed program from the tutorial, make sure to visit the link: [Using Flask in Visual Studio Code](https://code.visualstudio.com/docs/python/tutorial-flask). Intermediate steps are not included. -* It also contains the Dockerfile and uwsgi.ini files necessary to build a container with a production server. The resulting image works both locally and when deployed to Azure App Service. See [Deploy Python using Docker containers](https://code.visualstudio.com/docs/python/tutorial-deploy-containers). -* To run the app: + +* It also contains the *Dockerfile* and *uwsgi.ini* files necessary to build a container with a production server. The resulting image works both locally and when deployed to Azure App Service. See [Deploy Python using Docker containers](https://code.visualstudio.com/docs/python/tutorial-deploy-containers). + +* To run the app locally: 1. Run the command `cd hello_app`, to change into the folder that contains the Flask app. 1. Run the command `set FLASK_APP=webapp` (Windows cmd) or `FLASK_APP=webapp` (macOS/Linux) to point to the app module. 1. Start the Flask server with `flask run`.