deployphp / deployer

The PHP deployment tool with support for popular frameworks out of the box
https://deployer.org
MIT License
10.63k stars 1.49k forks source link

Migrating from capistrano to deployer #359

Closed gordalina closed 9 years ago

gordalina commented 9 years ago

@uran1980 raised this question on the recipes repo.

It is an important step having a migration from an accepted and widespread tool to deployer, this will allow deployer to gain new users with the least amount of friction.

I'm not versed in capistrano, it would be nice if someone with experience with capistrano can write a migration process.

ZeeCoder commented 9 years ago

I have experience with Capifony, so I might be able to write something, but it would took some time, since there would be a lot of testing involved.

antonmedv commented 9 years ago

@ZeeCoder what's will be awesome! I think we need how-to's for than on deployer.org.

uran1980 commented 9 years ago

Thanks, folks) This will be cool!

ad3n commented 9 years ago

@ZeeCoder : I use Capifony also, and it's really easy to migrate from capifony to deployer.

@gordalina : i think you don't need special docs to migrate from capistrano because deployer is easier than it

ZeeCoder commented 9 years ago

Even though I agree, that Deployer is easier and migrations is very easy, I still think, that the more such tutorials we have, the better. If I'm a developer that never used Deployer before, I could be intimidated by the task, since I don't know the tool well enough.

Also, if I'm searching for a deployment tool as a developer, and I see that Deployer supports a myriad of frameworks with detailed explanations of the recipes, and it has tutorials about migrating from other tools, I would certainly be chosing Deployer over others.

ad3n commented 9 years ago

@ZeeCoder : Many people doesn't have experience with ssh, public key, ssh config and many things of technical (especially the flow of how the code will be download from the repository and why i have an error when i try to download the repository from my own server)

I think will be better to write a doc for how to use deployer step by step

sorry for my bad english

johnny-bit commented 9 years ago

How about also have some examples for combining builtin recipes, 3rd party recipes and own code into something nice Would be cool to have something like best practices or advanced sample recipes ;)

ZeeCoder commented 9 years ago

@ihsanudin @johnny-bit Those are both good ideas, I think we don't have to chose between these, we could just start writing all kinds of documentation. :) Of course, the website has to be updated then slightly, so that it would stay clean, but at the same time the user should be able to navigate between the documentations easily.

johnny-bit commented 9 years ago

There could also be something like (just writting idea):

Recipe XYZ

[...]

Saples using this recipe

gordalina commented 9 years ago

Great documentation is a major contribution for the popularity and adoption of open source software. It's one of those things that more you have, the more advantages you have.

gordalina commented 9 years ago

@johnny-bit tutorials for 3rd party recipes, especially for custom workflows are really important!

ZeeCoder commented 9 years ago

Note: I still didn't have any time to write about the migration process, because I'm working on an API draft for Deployer v4.

If someone would like to tackle this task, feel free to do so. :+1:

webdevilopers commented 9 years ago

Coming from Capifony and Capistrano v2 I'm doing my first steps with Deployer. I tried Magallanes / MagePHP in between.

My main migration questions dealed with Symfony tasks like:

ad3n commented 9 years ago

@webdevilopers : i'm a symfony developer and i just confirm, deployer use git clone instead local copy.

You can use extra param -vvv for more verbose