Flask website not deploying correctly but working perfectly on http://localhost:8000


  • So I am trying to deploy a website which has a flask backend (python 3.6) and a small database (sqlite3) that I did in sublime.

    It works perfectly locally 

    However, when I deploy it to the "Azure Web App" option, it just sends me to a broken page which says " You do not have permission to view this directory or page."

    I do not know if it has to do with the fact that I am using a database and flask. I say this because I deployed two websites that were just HTML, CSS and javascript perfectly.

    I used the following video:

    Build and deploy to an Azure Web App using VSTS (Quick Starts)

    Any help would be highly appreciated :(

    Saturday, January 12, 2019 6:41 PM

All replies