I'm working on a sails application.
Currently, to move to another server.
I have to go through 3 steps:
Step1: Checkout source code.
Step2: Run npm install to download dependentcy
Step3: Deploy sails app by cmd sails lift --prod
Is there any way to just push a .zip to server and run cmd deploy?
My purpose is:
Step1: Zip all to 1 folder
Step2: Upzip and deploy
No need to install dependency manual
Like the way of java distribution > build a war file and put into tomcat
Or Angular CLI compile all to dist folder
Thanks