Magestead\Installers\MagentoProject::finaliseSetup PHP Method

finaliseSetup() protected method

protected finaliseSetup ( array $options, $projectPath, Symfony\Component\Console\Output\OutputInterface $output )
$options array
$projectPath
$output Symfony\Component\Console\Output\OutputInterface
    protected function finaliseSetup(array $options, $projectPath, OutputInterface $output)
    {
        $command = 'vagrant ssh -c \'cd /var/www/public; ../bin/n98-magerun.phar index:reindex:all;\'';
        $output->writeln('<comment>Reindexing Tables</comment>');
        new ProcessCommand($command, $projectPath, $output);
        $command = 'vagrant ssh -c \'cd /var/www/public; ../bin/n98-magerun.phar cache:enable;\'';
        $output->writeln('<comment>Enabling All Cache</comment>');
        new ProcessCommand($command, $projectPath, $output);
        $command = 'vagrant ssh -c \'cd /var/www/public; ../bin/n98-magerun.phar cache:flush;\'';
        $output->writeln('<comment>Flushing All Cache</comment>');
        new ProcessCommand($command, $projectPath, $output);
        $this->processVcs($options, $projectPath, $output);
        $command = 'vagrant ssh -c \'cd /var/www/public; ../bin/n98-magerun.phar sys:check;\'';
        $output->writeln('<comment>System Check</comment>');
        new ProcessCommand($command, $projectPath, $output);
    }