简体   繁体   English

是否可以从linux发布node.js应用程序到Azure?

[英]Is it possible to publish a node.js app to Azure from linux?

I am trying to publish my node.js application to windows azure. 我试图将我的node.js应用程序发布到windows azure。 It is developed and tested on my Arch Linux but the problem is how i am supposed to publish it to azure. 它是在我的Arch Linux上开发和测试的,但问题是我应该如何将它发布到azure。 There is some sort of sdk for windows and i found something in npm called azure (probably something to do with the azure sdk). 有一些窗户的sdk,我在npm中发现了一些名为azure的东西(可能与azure sdk有关)。 But there is little to none documentation. 但是几乎没有文档。

Nevertheless, is it possible to publish applications to azure from linux? 不过,是否可以从linux发布应用程序到azure? And if so, how do i do it. 如果是这样,我该怎么做。 Is there any good resources to read? 有什么好的资源可供阅读吗?

There's a couple of different ways you can do this working on the local machine in addition to using Cloud9 除了使用Cloud9之外,还有几种不同的方法可以在本地计算机上运行

  1. You can use the web portal + git: https://www.windowsazure.com/en-us/develop/nodejs/tutorials/create-a-website-(mac)/ 您可以使用门户网站+ git: https//www.windowsazure.com/en-us/develop/nodejs/tutorials/create-a-website-( mac) /

  2. You can use our CLI tools. 您可以使用我们的CLI工具。 On Linux the easiest way to get them is via "sudo npm install -g azure.". 在Linux上,获取它们的最简单方法是通过“sudo npm install -g azure。”。 You can find more in this guide: https://www.windowsazure.com/en-us/develop/nodejs/how-to-guides/command-line-tools/ 您可以在本指南中找到更多信息: https//www.windowsazure.com/en-us/develop/nodejs/how-to-guides/command-line-tools/

Yes, you can use Cloud 9 IDE from your browser: 是的,您可以从浏览器使用Cloud 9 IDE:

http://c9.io/ http://c9.io/

The publish process works very nicely. 发布过程非常有效。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM