protected function installMagento(array $options, $projectPath, OutputInterface $output)
{
$locale = $options['magestead']['apps']['mba_12345']['locale'];
$db_name = $options['magestead']['apps']['mba_12345']['db_name'];
$base_url = $options['magestead']['apps']['mba_12345']['base_url'];
$default_currency = $options['magestead']['apps']['mba_12345']['default_currency'];
$install = 'vagrant ssh -c \'cd /var/www/public; php -f install.php -- \\
--license_agreement_accepted "yes" \\
--locale "' . $locale . '" \\
--timezone "Europe/London" \\
--default_currency "' . $default_currency . '" \\
--db_host "localhost" \\
--db_name "' . $db_name . '" \\
--db_user "magestead" \\
--db_pass "vagrant" \\
--session_save "db" \\
--url "http://' . $base_url . '/" \\
--use_rewrites "yes" \\
--skip_url_validation "yes" \\
--use_secure "no" \\
--use_secure_admin "no" \\
--secure_base_url "http://' . $base_url . '/" \\
--admin_firstname "RichDynamix" \\
--admin_lastname "Magestead" \\
--admin_email "[email protected]" \\
--admin_username "admin" \\
--admin_password "password123"\' ';
new ProcessCommand($install, $projectPath, $output);
$this->configureRedis($projectPath);
$this->setPermissions($projectPath, $output);
$this->installMagerun($projectPath, $output);
}