1
0
mirror of https://github.com/hauke68/Magallanes.git synced 2025-09-13 20:50:18 +02:00
Magallanes/bin/mage.php

27 lines
697 B
PHP
Raw Normal View History

2011-11-22 12:16:06 +01:00
<?php
# sudo mage install
2011-11-24 02:45:04 +01:00
# mage config add host s05.example.com to:[production]
# mage config git git://github.com/andres-montanez/Zend-Framework-Twig-example-app.git
# mage config svn svn://example.com/repo
2011-11-24 02:45:04 +01:00
# mage task:deployment/rsync to:production
2011-11-24 02:45:04 +01:00
# mage init
# mage add environment production
2011-11-22 12:16:06 +01:00
# mage deploy to:production
$baseDir = dirname(dirname(__FILE__));
require_once $baseDir . '/Mage/Autoload.php';
spl_autoload_register(array('Mage_Autoload', 'autoload'));
2011-11-22 12:16:06 +01:00
Mage_Console::output('Starting <blue>Magallanes</blue>', 0, 2);
2011-11-22 12:16:06 +01:00
$console = new Mage_Console;
2011-11-22 12:16:06 +01:00
$console->setArgs($argv);
$console->parse();
$console->run();
Mage_Console::output('Finished <blue>Magallanes</blue>', 0, 2);