How to set up Python App on Azure App Service in Linux Ubuntu

Mohammad Vahed 6 Reputation points
2021-03-17T17:57:33.203+00:00

Hello,

I am quite new to azure web app services. I am having an issue with deploying the Python web app on azure (Linux os).

I want to explain about the project, We used the PheWeb project (https://github.com/statgen/pheweb) that is base on Python, after install, we can process raw data and keep result on HDD, and for showing the result, we used "pheweb serve --open" command (in the path of results) to open localhost/5000 and show the result on internet explore.
I read and tested a lot of times by Azure help, but did not work.
So, I completely confuse that how can deploy and show results in the Azure server!

Can anyone please let me help in this step-by-step deployment on Linux azure web app?

Thanks in advance.

Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
6,908 questions
0 comments No comments
{count} vote

1 answer

Sort by: Most helpful
  1. Grmacjon-MSFT 16,101 Reputation points
    2021-03-19T00:17:37.217+00:00

    Hi @Mohammad Vahed

    We apologies for any inconvenience you experienced while trying to set up your Python App on Azure.

    Please follow the below tutorial based on how you plan on deploying your app:

    Deploy Python apps to Azure App Service on Linux from Visual Studio Code

    or

    Deploy a Python app using Azure App Service on Linux (using Flask or Django frameworks)

    Hope that helps. Letus know if you have further questions

    -Grace