diff --git a/README.md b/README.md index 64f56cac..6ebef300 100644 --- a/README.md +++ b/README.md @@ -19,6 +19,14 @@ community that make adding new functionality easy. ## A Simple Example +Install Flask first: + +```bash +pip install flask +``` + +Then create `app.py`: + ```python # save this as app.py from flask import Flask @@ -30,6 +38,8 @@ def hello(): return "Hello, World!" ``` +Run the development server: + ``` $ flask run * Running on http://127.0.0.1:5000/ (Press CTRL+C to quit)