You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
ihsanudin f04beb142e add front controller cleaning task 9 years ago
Mage add front controller cleaning task 9 years ago
bin Fixing a little bug in php<5.5 10 years ago
docs SensioLabs Insight. 10 years ago
tests/MageTest Merge pull request #176 from claudioflagbit/task-factory-test 10 years ago
.coveralls.yml Coveralls configuration 10 years ago
.gitignore Merge pull request #186 from d-ulyanov/develop 10 years ago
.travis.yml Add composer-self update to travis.yml 10 years ago
CONTRIBUTING.md Merge pull request #190 from edpauto/contribution-coverage 10 years ago
LICENSE Prepare for version 1.0.6 10 years ago
LICENSE_YAML Text files should end with a newline character. 10 years ago
README.md Update readme file with Travis and Coveralls badges 10 years ago
box.json Add a box.json file to build PHAR 10 years ago
composer.json Change autoloading to dev for tests classes 10 years ago
composer.lock Change autoloading to dev for tests classes 10 years ago
phpunit.xml.dist setting constant in phpunit config 10 years ago

README.md

Magallanes

SensioLabsInsight Build Status Coverage Status

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 project’s composer.json file:

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

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.*"

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!