Magestead\Installers\Magento2Project::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/magento indexer:reindex; \'';
        $output->writeln('<comment>Reindexing Tables</comment>');
        new ProcessCommand($command, $projectPath, $output);
        $command = 'vagrant ssh -c \'cd /var/www/public; bin/magento cache:flush;\'';
        $output->writeln('<comment>Flushing All Cache</comment>');
        new ProcessCommand($command, $projectPath, $output);
        $this->configureRedis($projectPath, $output);
        $this->processVcs($options, $projectPath, $output);
    }