关于Linux CICD部署的瓶子 [英] Bottle On linux CICD Deployment
问题描述
我不能在linux app上为瓶子创建一个cicd集成。我能找到的每个文档都很老。
Visual Studio无法发布,它说它无法访问文件
web app dev central要求几个我无法收集的参与者
我在开发中迷失了。
任何人都可以帮忙吗?
您好Mesut,
您是否尝试过这个 到Azure App Service。 发布到Azure需要目标App Service。为此,您可以使用Azure订阅创建App Service。如果您还没有订阅,请从
免费的完整Azure帐户开始。如果您已经订阅,请转到
Azure门户并创建一个Linux Web应用程序。确保选择python 3.6。填写所有信息,然后点击
创建。您可以选择使用Git部署在Linux上发布到App Service,或者发布到
App Service在Linux上使用容器
希望有所帮助。如果您有任何问题,请与我们联系。
I'cant create a cicd integration for bottle on linux app. Every documentation i could find is very old.
Visual studio can't publish and it says that it can't access a file
web app dev central is asking for several paramaters which i can't gather
i am lost in dev.
Can anyone help ?
Hi Mesut,
Have you tried following this documentation? Python in Visual Studio supports developing web projects in Bottle, Flask, and Django frameworks through project templates and a debug launcher that can be configured to handle various frameworks. I followed these steps in the documentation to create a Bottle web project. After that you can deploying it as on Azure app services.
You create a project from a template using File > New > Project. To see templates for web projects, type "Bottle" in the search bar and click Bottle Web Project then a template, providing names for the project and solution, set options for a solution directory and Git repository, and select OK.
Follow the prompts to install external packages, selecting Install into a virtual environment and your preferred base interpreter for the virtual environment. You typically match this choice with the version (currently 3.6) of Python installed on Azure App Service
If everything was installed successfully, then you should see this on the output screen.
Test the project locally by pressing F5 or selecting Debug > Start Debugging.
Next, publish to Azure App Service. Publishing to Azure requires a target App Service. For this purpose you can create an App Service using an Azure subscription. If you don't already have a subscription, start with a free full Azure account. If you already have a subscription, then go to the Azure portal and create a a Linux web app. Make sure to select python 3.6. Fill out all the information and click Create. You can chose to Publish to App Service on Linux using Git deploy or Publish to App Service on Linux using containers
Hope that helps. Let me know if you have any questions.
这篇关于关于Linux CICD部署的瓶子的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!