部署sails.js到Windows Azure网站 [英] Deploy sails.js to Windows Azure Website
问题描述
我下面安装在Azure上使Node.js应用本指南:
的http://www.windowsazure.com/en-us/develop/nodejs/tutorials/create-a-website-(mac)/#header-0
I'm following this guide on installing a node.js application on Azure: http://www.windowsazure.com/en-us/develop/nodejs/tutorials/create-a-website-(mac)/#header-0
是否有可能得到一个sails.js运行的应用程序,而不必实例化一个虚拟机?
Is it possible to get a sails.js app running without having to instantiate a Virtual Machine?
推荐答案
截至目前航行需要NPM上这需要无论是虚拟机或启动脚本云服务的机器上安装-g。你是显示如果一个部署模型,你没有得到任何访问该链接,因为有在其上运行许多实例来操作主机。
As of right now sails requires an npm install -g on the box which would require either a virtual machine or a cloud service with a startup script. The link you are showing if for a deployment model where you don't get any access to manipulate the host since there are many instances running on it.
这将是巨大的,如果帆可以通过把它在的package.json包含一个应用程序内,从应用程序内启动。
It would be great if sails could be included inside an app by putting it in the package.json and started up from within the app.
更新 - 这已经改变,因为答案被张贴。 @mikermcneil有一个更新的答案反映当前状态。
UPDATE - This has changed since the answer was posted. @mikermcneil has an updated answer that reflects the current state.
这篇关于部署sails.js到Windows Azure网站的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!