* doctrine cli helper added

* deploy path fixed
This commit is contained in:
Danyi Dávid 2017-09-03 18:13:58 +02:00
parent 92eefa7a63
commit 11634b4402
2 changed files with 10 additions and 1 deletions

9
cli-config.php Normal file
View File

@ -0,0 +1,9 @@
<?php
$container = require 'config/container.php';
return new \Symfony\Component\Console\Helper\HelperSet([
'em' => new \Doctrine\ORM\Tools\Console\Helper\EntityManagerHelper(
$container->get('doctrine.entity_manager.orm_default')
),
]);

View File

@ -6,7 +6,7 @@ require 'recipe/common.php';
set('ssh_type', 'native'); set('ssh_type', 'native');
set('ssh_multiplexing', true); set('ssh_multiplexing', true);
set('repository', 'https://gogs.ragnarok.yvan.hu/yvan/sms-store.git'); set('repository', 'ssh://gogs@gogs.ragnarok.yvan.hu:2206/yvan/sms-store.git');
set('shared_dirs', [ set('shared_dirs', [
// 'data/tmp', // 'data/tmp',
]); ]);