BeSimple / BeSimpleDeploymentBundle

NOT MAINTAINED - A Symfony 2 bundle to ease deployment and shedule tasks within
45 stars 10 forks source link

Undefined index: symfony_command #9

Open torstenzander opened 12 years ago

torstenzander commented 12 years ago

When lauchning my project I get: Undefined index: symfony_command in BeSimple/DeploymentBundle/Deployer/Ssh.php line 204
When I add $symfony = 'console'; in theb buildCommand(). Everything is fine, but I cannot find any documentation or whatsoever where to configure this value.

jfsimon commented 12 years ago

Thanks for the notice. I think this bundle needs a really big refactoring!

amadu80 commented 12 years ago

try something like:

parameters: root_path: <?php echo realpath(DIR."/../../../../../") ?>/

commands: cache_warmup: type: shell command: php %root_path%app/console cache:warmup