Search code examples
deploymentbatch-filesetup-deploymentweb-deploymentputty

Deployment script - Not sure where to start


Trying to write a script to automatically deploy an application from my windows machine to a remote linux server.

I've been struggling for a while trying to figure out an acceptable method to do this.

The script needs to:

  • Copy some files from my machine to the server (python code files, javascripts, html files, etc...)
  • SSH into the remote linux server and restart the dev server application

I'm not sure if I should be using a windows batch file for this, a script that is run by putty, or something else that I am not a aware of.

A poke in the right direction would be greatly appreciated!


Solution

  • How about Cygwin? You'd set up pubkey authentication and just scp the file.