node package manager
Loosely couple your services. Use Orgs to version and reuse your code. Create a free org »

d3pl0y

Install

npm i -g d3pl0y

Usage

  • Create Deploy.json in your project file.
  • Edit your Deploy.json like as
{
  "host": "159.203.66.54",
  "user": "root",
  "installNode": true,
  "command": "node hello.js",
  "dir": "/root/"
}
 

Notes :

  • SSH key based auth. should be already init.

  • Run terminal command : deploy (ENTER)

  • All done!