Q:

Need help on deploying node js project?

I am very much new to Node JS. I have developed a node js project, in my local machine I am running the command 'node app.js' through command prompt. Now I want to deploy this project in our QA environment. Can someone help me on how I can bundle project and deploy it in QA regions?
Also I need to set up an the environment specific variables out side the project so that other projects can use it. Please help me on this as well.

A:

Its easy make a copy, then zip the copied directory and clone your application to you QA environment. In your QA environment, run:
npm install

Optionally, if you have any tests, you can run : 
npm install

Also don't forget to set the environment:
NODE_EN=development

