English 中文(简体)
将Node.js射向dev/prod服务器的工作流程
原标题:Workflow for pushing Node.js app to dev/prod servers

我有诺德杰斯快要说,我是在诺德吉兹的东道主。 已经在使用<代码>env的快递中转至devprod,但显然需要将Im推向不同的<代码>dev和prod服务器。

就Nodejitsu而言,将服务器推向这些服务器需要一个简单的<编码> 即: 部署<>jtsu/code>,该编码见我的<代码> 包装.json,供用户和域/主要信息使用。

鉴于以下限制,Im试图考虑处理各种推介的最佳方式:devprod(和/或testing,staging ,等等。 显然,我想避免维持几条基特,每件都稍有改动的<条码>。

处理这项工作的理想是哪一种工作流程?

最佳回答

我们正在使用吉tsu,但我们确实在一conf中保留了两种不同形式的会议。 当我们去部署我们的文字时,我们就会复制适当的组合/包装。 json file in the fundamental dir.

您对此感兴趣:https://github.com/nodejitsu/jitsu/issues/134

正如马韦里指出的,这个问题可以用正文进行。 你们可以在一揽子方案中设置一些文字,这些文字是从事适当的部署前工作。

问题回答

暂无回答




相关问题
How to make Sequelize use singular table names

I have an model called User but Sequelize looks for the table USERS whenever I am trying to save in the DB. Does anyone know how to set Sequelize to use singular table names? Thanks.

What is Node.js? [closed]

I don t fully get what Node.js is all about. Maybe it s because I am mainly a web based business application developer. What is it and what is the use of it? My understanding so far is that: The ...

Clientside going serverside with node.js

I`ve been looking for a serverside language for some time, and python got my attention somewhat. But as I already know and love javascript, I now want learn to code on the server with js and node.js. ...

Can I use jQuery with Node.js?

Is it possible to use jQuery selectors/DOM manipulation on the server-side using Node.js?

How do I escape a string for a shell command in node?

In nodejs, the only way to execute external commands is via sys.exec(cmd). I d like to call an external command and give it data via stdin. In nodejs there does yet not appear to be a way to open a ...

热门标签