I am trying to build an installation script for an app which made on node.js. As of now, I have to manually install the database dump, run Mongo server, npm packages and run Camunda server. So, is there any way I can do all those things by running a single script.
Please bear with my silly question.
Thanks in advance
you can call mongodump command from nodejs as discussed here
about mongo server, you can start it in your app:
I need to say above code is written in ES6, if you don't use it you need to set Babel or use older code style:
I hope it helps you with your problem