Skip to content

Instantly share code, notes, and snippets.

@reecefowell
Last active January 2, 2016 04:18
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save reecefowell/8249190 to your computer and use it in GitHub Desktop.
Save reecefowell/8249190 to your computer and use it in GitHub Desktop.
#!/usr/bin/env bash
sudo cp -rR /etc/yum.repos.d/ /etc/yum.repos.d-backup/
sudo ln -s /CCDNSandbox/Vagrant /vagrant
sudo chmod 755 /vagrant/shell/*.sh
sudo /vagrant/shell/os-detect.sh
sudo /vagrant/shell/initial-setup.sh
sudo /vagrant/shell/update-puppet.sh
sudo /vagrant/shell/librarian-puppet-vagrant.sh
sudo puppet apply /CCDNSandBox/Vagrant/puppet/manifests/default.pp --hiera_config=/CCDNSandBox/Vagrant/hiera.yaml --verbose --parser=future
mkdir /var/www/codeconsortium.com/
mkdir /var/www/codeconsortium.com/public
mv /CCDNSandBox/* /var/www/codeconsortium.com/public
cd /var/www/codeconsortium.com/public
mkdir app/cache app/logs
chmod 777 app/cache app/logs
composer install --dev --prefer-dist -o
php /var/www/codeconsortium.com/public/app/console --env=dev doctrine:database:create
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment