| 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. |
python |
|
Python Flask sample for Azure App Service (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.
Contributing
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.
Running Instructions
Execute the following commands:
virtualenv env source env/bin/activate pip install -r requirements.txt export FLASK_APP=startup.py flask run
The server will serve at http://127.0.0.1:5000/