From 2ae3a94bd05043561c3b07ccfe84345c1aee2d4a Mon Sep 17 00:00:00 2001 From: Kraig Brockschmidt Date: Mon, 26 Oct 2020 11:16:24 -0700 Subject: [PATCH] Simplify requirements and update readme --- README.md | 1 + requirements.txt | 7 +------ 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 319b556d1..fe8285f23 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,7 @@ # 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. +* To run the app, first run use `set FLASK_APP=hello_app:app` (Windows cmd) or `FLASK_APP=hello_app:app` (macOS/Linux). * 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). ## Navigation diff --git a/requirements.txt b/requirements.txt index af2376e97..e3e9a71d9 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,6 +1 @@ -click==6.7 -Flask==1.0.2 -itsdangerous==0.24 -Jinja2>=2.10.1 -MarkupSafe==1.0 -Werkzeug==0.15.5 +Flask