automation script using node js

37 views
Skip to first unread message

raj kumar

unread,
Apr 1, 2015, 4:45:30 PM4/1/15
to nod...@googlegroups.com
Hi,

I am trying to write automation script using js
what i am trying to achieve is I have packages in one machine and install those packages in another machine..i need to write a script for it..
will node work for it..
packages has config and jar files...
I need to unzip and zip it too..
not sure how to achieve...
can you guys give some inputs

Ryan Schmidt

unread,
Apr 1, 2015, 11:29:18 PM4/1/15
to nod...@googlegroups.com
Sure, you could write this in javascript using node (or in any other programming or scripting language).

If you use node, there are probably npm modules that could assist you in zipping and unzipping files. Or you could just use a child process to call the zip or unzip command line program.

// ravi

unread,
Apr 1, 2015, 11:29:19 PM4/1/15
to nod...@googlegroups.com
Assuming you have SSH access to the remote server, I can recommend Flightplan: https://github.com/pstadler/flightplan.

—ravi


Reply all
Reply to author
Forward
0 new messages