Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What is a good deployment tool for websites on Windows?

Tags:

iis

deployment

I'm looking for something that can copy (preferably only changed) files from a development machine to a staging machine and finally to a set of production machines.

A "what if" mode would be nice as would the capability to "rollback" the last deployment. Database migrations aren't a necessary feature.

UPDATE: A free/low-cost tool would be great, but cost isn't the only concern. A tool that could actually manage deployment from one environment to the next (dev->staging->production instead of from a development machine to each environment) would also be ideal.

The other big nice-to-have is the ability to only copy changed files - some of our older sites contain hundreds of .asp files.

like image 712
Sean Carpenter Avatar asked Sep 03 '08 23:09

Sean Carpenter


People also ask

What tool is used for deployment?

Jenkins Jenkins can easily distribute work across multiple machines, helping drive builds, tests, and deployments across multiple platforms faster. Key Features: Hundreds of plugins available. Continuous Integration and Continuous Delivery.

Which is the ideal tool at deployment stage?

Jenkins Ok, that's a bold statement, but Jenkins is arguably one of the best deployment tools available. Jenkins is an automation server that comes with hundreds of plugins to make your life easier from building to deployment. Key Features: Use hundreds of plugins for each step of development.

What is web deployment Tool?

What is Web Deploy? Web Deploy is an extensible client-server tool for syncing content and configuration to IIS. Web Deploy is used primarily in two scenarios: Developers use it to sync (aka 'publish') a compiled web applications (ASP . Net, PHP etc) from developer tools (Visual Studio, WebMatrix, etc) to IIS.


1 Answers

@Sean Carpenter can you tell us a little more about your environment? Should the solution be free? simple?

I find robocopy to be pretty slick for this sort of thing. Wrap in up in a batch file and you are good to go. It's a glorified xcopy, but deploying my website isn't really hard. Just copy out the files.

As far as rollbacks... You are using source control right? Just pull the old source out of there. Or, in your batch file, ALSO copy the deployment to another folder called website yyyy.mm.dd so you have a lovely folder ready to go in an emergency.

look at the for command for details on how to get the parts of the date.

robocopy.exe
for /?

Yeah, it's a total "hack" but it moves the files nicely.

like image 147
DrFloyd5 Avatar answered Sep 19 '22 11:09

DrFloyd5