Django web app deploy in Azure via Visual Studio 2017

后端 未结 2 851
甜味超标
甜味超标 2021-01-24 11:22

I\'ve made a simple app with Django in Visual Studio 2017, utilizing the default template in Visual Studio (file - new - project - python - django web application). The app runs

2条回答
  •  暗喜
    暗喜 (楼主)
    2021-01-24 12:24

    After much struggle i manage to to do it!

    I will explain how i did it (i've used many tutorials and forum posts answers to achieve this):

    1) I've created a Django (PTVS) Web App in Azure;

    2) Followed this tutorial to configure that app;

    3) Make the necessary adjustments to web.config file in my project, notably the path to the python version installed via extension;

    4) Published my project via Visual Studio 2017 to that Django App created in the first step.

    And it worked!

提交回复
热议问题