Adjustments for post update

This commit is contained in:
David Bomba 2020-12-17 07:10:06 +11:00
parent e5c30c67f1
commit d035fce0ac

View File

@ -53,6 +53,8 @@ class PostUpdate extends Command
info("I wasn't able to migrate the data.");
}
info("finished migrating");
putenv('COMPOSER_HOME=' . __DIR__ . '/vendor/bin/composer');
$input = new ArrayInput(['command' => 'install', '--no-dev' => 'true']);
@ -61,6 +63,8 @@ class PostUpdate extends Command
$output = new BufferedOutput();
$application->run($input, $output);
info("finished running composer install ");
info(print_r($output->fetch(), 1));
try {