Go to file
2014-09-13 17:30:17 -03:00
bin Prepare for next release. 2014-09-13 17:29:45 -03:00
docs Example tweak. 2014-08-07 12:57:53 -03:00
Mage Git Remote Cache #123 2014-09-13 16:45:41 -03:00
.gitignore Add "vendor" to gitignore 2014-09-13 21:30:12 +02:00
composer.json Load custom tasks and commands by composer autoload mechanism 2014-09-13 21:30:12 +02:00
LICENSE Yaml - Replace Spyc with Symfony Yaml Component. 2014-06-13 09:31:44 -03:00
LICENSE_YAML Yaml - Replace Spyc with Symfony Yaml Component. 2014-06-13 09:31:44 -03:00
README.md Improve Composer notes in the readme 2014-09-05 12:00:50 +03:00

Magallanes

What's Magallanes?

Magallanes is a deployment tool for PHP applications; it's quite simple to use and manage. It will get your application to a safe harbor.

So, What can it do?

You can instruct Magallanes to deploy your code to all the servers you want (via rsync over ssh), and run tasks for that freshly deployed code.

How can I install it via composer?

Simply add the following dependency to your projects composer.json file:

    "require-dev": {
        // ...
        "andres-montanez/magallanes": "~1.0.1"
        // ...
    }

Now tell we update the vendors:

$ php composer update andres-montanez/magallanes

And finally we can use Magallanes from the vendor's bin:

$ bin/mage version

System-wide installation with composer

$ composer global require "andres-montanez/magallanes=~1.0.1"

Make sure you have ~/.composer/vendor/bin/ in your path. You can now use Magallanes by using the mage command.

Can you give me some examples/ideas?

Sure! Suppose you have a checkout of your app and you have to deploy it to four servers; and after each deploy you have to run some boring tasks, like fixing file permissions, creating symlinks, etc. You can define all this on Magallanes and with just one command you can do all this at once!

Like this:

$ mage deploy to:production

What's this sorcery?!

Easy boy. It's not sorcery, just some technomagick!

In Magallanes you define environments like testing, staging, or production like on the example above. Then, on that environment, you can configure a setup specifying to which hosts you want to deploy and what tasks to run (after, on, and before deploying). And you are done!

This is awesome! Where can I learn more?

You can read the whole source code (naaah!); or checkout the documentation at: http://magephp.com

Enjoy your magic trip with Magallanes to the land of the easily deployable apps!!

"develop" branch

Please, all pull request now must be on the develop branch. Thanks!