deployed code by bash

ozy 21 Reputation points
2021-04-21T01:48:45.64+00:00

I just came across azure and currently, my project is 'deploy flask in the cloud', the flask is working fine in pycharm. I have successfully generated the URL via bash deployment. but when I click on the URL, what appears is not the model.

here is the screenshot to support.

89650-screen-shot-2021-04-20-at-64414-pm.png

89751-screen-shot-2021-04-20-at-64548-pm.png

Also, I've been following https://www.youtube.com/watch?v=_4FsBoLOoQY

Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
8,930 questions
{count} votes

Accepted answer
  1. Ryan Hill 30,281 Reputation points Microsoft Employee Moderator
    2021-04-22T21:58:26.23+00:00

    Hi @ozy , here are the steps you can do with CLI to get the sample running.

    git clone https://github.com/Azure-Samples/python-docs-hello-world.git  
      
    cd .\python-docs-hello-world\  
      
    az webapp up --name azsamplepython  
      
    az webapp browse --name azsamplepython  
      
    az webapp config appsettings list  
      
    az webapp config appsettings set --name azsamplepython --settings SCM_DO_BUILD_DURING_DEPLOYMENT=true"  
    

    Use az webapp config appsettings list to confirm that SCM_DO_BUILD_DURING_DEPLOYMENT is set to true and if not, set it. Linux apps run inside a container so if you continue to see issues, make sure that you enable application log to check for any build errors.

    0 comments No comments

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.