Stack Overflow Asked by NJE on February 7, 2021
I am trying to run my Python code with Azure Functions using Visual Studio Code. I have run the "Hello World" project with Azure Functions in VS Code, but I am looking for a way to deploy my Python code with Azure Functions. I would really appreciate it if anyone can help me with this issue by introducing a relevant tutorial or sharing some ideas.
This is Azure for Python Developers
and you want to deploy python code to azure, there are three options for you to choose with regard to different code situation:
Answered by Molly Wang on February 7, 2021
First, you need to create a function app on azure. This is a container to deploy your function.
Then you have two ways to deploy:
1, use VS code:
click the upload button, and then select the folder you want to deploy, the subscription, and select the function app you created just now.
2, use cmd:
Go to the root folder of your function, and run this command:
func azure functionapp publish <FunctionAppName>
The name of function app is absolutely unique, so if you have the authority then your folder will deploy to this function app directly.
Let me know whether this can answer your question.
Answered by Bowman Zhu on February 7, 2021
Get help from others!
Recent Questions
Recent Answers
© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP