Go to file
Kuba Turek 19c687b800 Merge pull request #186 from d-ulyanov/develop
Ignoring errors while deleting temp files
2015-01-30 08:34:14 +01:00
bin Prepare for new release. 2014-11-01 19:49:04 -02:00
docs Add example config with explanation 2015-01-14 11:49:31 +01:00
Mage Ignoring errors while deleting temp files 2015-01-25 21:50:00 +03:00
tests/MageTest/Console [#183] Change test's description property visibility to private 2015-01-27 19:47:08 +01:00
.gitignore Merge pull request #186 from d-ulyanov/develop 2015-01-30 08:34:14 +01:00
.travis.yml initial phpunit config with test example 2014-11-27 21:56:52 +01:00
box.json Add a box.json file to build PHAR 2014-10-01 07:49:46 +03:00
composer.json Add vendor's bins to bin directory 2015-01-24 17:08:51 +01:00
composer.lock Update composer.lock due to outer changes 2015-01-24 21:50:31 +01:00
CONTRIBUTING.md Add some notes about commit messages 2015-01-23 19:53:08 +01:00
LICENSE Text files should end with a newline character. 2014-10-11 15:07:36 -02:00
LICENSE_YAML Text files should end with a newline character. 2014-10-11 15:07:36 -02:00
phpunit.xml.dist Add some colors to phpunit output! :) 2015-01-24 17:08:51 +01: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!