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!