Solved! I solved it by defining a customized startup command, as described in here: https://learn.microsoft.com/de-de/azure/app-service/configure-language-python#customize-startup-command to point to the right folder in which wsgi.py is placed. (The data is automatically copied from the folder site/wwwroot/output.tar.gz to /tmp/'longnumber' when loading the page.)
Django app not shown after successful deployment with github
coder1608
0
Reputation points
After successful deployment via Github my django app is not shown/is not loaded. In https://learn.microsoft.com/de-de/azure/app-service/configure-language-python#app-doesnt-appear it is recommended to ensure that the data is available in site/wwwwroot, but there is no data. The advice to include
SCM_DO_BUILD_DURING_DEPLOYMENT
with value=1 also had no effect. My files like manage.py are in /tmp/#large number#/ProjectName. I used Visual Studio to create my git and built and deployed the code via GitHub. The wsgi.py file is in: /tmp/#large number#/ProjectName/ProjectName. What do I need to do to make this app work?
Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
8,970 questions