Skip to content

Instantly share code, notes, and snippets.

@reecefowell reecefowell/Deploy CCDN
Last active Jan 2, 2016

Embed
What would you like to do?
#!/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
You can’t perform that action at this time.