Deploying Multipage Streamlit into Azure Web App

Hello, I am trying to deploy multipage streamlit app into Azure Web App but I am facing this problem:

My file locations:
β”œβ”€β”€ requirements.txt
β”œβ”€β”€ my_app
β”‚ β”œβ”€β”€
β”‚ β”œβ”€β”€ pages
β”‚ β”‚ β”œβ”€β”€
β”‚ β”‚ β”œβ”€β”€
β”‚ β”‚ └──

When I run the locally there is no problem I can see the pages inside the sidebar. I did not write any additional code for this part. But when I deploy to Azure Web App I can’t see the sidebar which contains the subpages. How can I fix this?

Hi @Omer,

Thanks for sharing this question!

What startup command did you use in your Azure Web App? Does it point to the file? The command should typically look like this:

streamlit run my_app/

Hi @tonykip,
Actually I can run the streamlit app using the command you have given. My problem is more about the automatic sidebar inside pages folder. I still can run the but the sidebar which automatically appears and navigates me to my_app/pages does not appear. I can only see the home page not the pages under the folder. I deployed it using github and did not create any Docker or Kubernetes. Can this be the reason behind this problem?