A simple static flask web application and demonstration of direct deployment to Azure app service on Linux.
The application is also hosted for a short period here
-
Clone this repository and cd to the project directory
git clone https://github.com/sekhargullapalli/python-azure-app-service-linux.gitcd python-azure-app-service-linux -
Create a virtual environment and activate it
python -m venv venv --prompt "#countriesenv"venv\Scripts\activate -
Install requirements and run the application
pip install -r requirements.txtflask run -
Navigate to http://127.0.0.1:5000/
The deployment instructions can be found here
The images and the data for this applicaiton is cloned from https://github.com/cristiroma/countries
Detailed instructions on publishing Python apps to Azure app service can be found here
A simple static Flask web application Copyright (C) 2019 Vijaya Sekhar Gullapalli
This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program. If not, see https://www.gnu.org/licenses/.
