| page_type | description | languages | products | |||
|---|---|---|---|---|---|---|
sample |
This is a minimal sample app that demonstrates how to run a Python Flask application on Azure App Service on Linux. |
|
|
This is a minimal sample app that demonstrates how to run a Python Flask application on Azure App Service on Linux.
For more information, please see the Python on App Service quickstart.
This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact opencode@microsoft.com with any additional questions or comments.
Execute the following commands:
virtualenv env
source env/bin/activate
pip install -r requirements.txt
export FLASK_APP=startup.py
flask runThe server will serve at http://127.0.0.1:5000/