Skip to content

Commit

Permalink
Merge pull request #109 from REBELinBLUE/installer
Browse files Browse the repository at this point in the history
Creating an installer
  • Loading branch information
REBELinBLUE committed Oct 3, 2015
2 parents 00744a8 + afe8833 commit 7ae002a
Show file tree
Hide file tree
Showing 12 changed files with 917 additions and 18 deletions.
4 changes: 2 additions & 2 deletions .env.example
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
APP_ENV=local
APP_DEBUG=true
APP_ENV=production
APP_DEBUG=false
APP_KEY=SomeRandomString
APP_URL=http://deploy.app
APP_TIMEZONE=Europe/London
Expand Down
6 changes: 3 additions & 3 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ vendor/
node_modules/
.vagrant/
.env
_ide_helper.php
sftp-config.json
.env.prev
.php_cs.cache
phpunit.xml
phpunit.xml
composer.phar
2 changes: 0 additions & 2 deletions Vagrantfile
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,6 @@ Vagrant.configure("2") do |config|
config.vm.provision "shell", inline: "sudo cp /var/www/deployer/crontab.example /etc/cron.d/deployer"
config.vm.provision "shell", inline: "sudo cp /var/www/deployer/nginx.conf.example /etc/nginx/sites-available/deployer.conf"
config.vm.provision "shell", inline: "sudo ln -fs /etc/nginx/sites-available/deployer.conf /etc/nginx/sites-enabled/deployer.conf"
config.vm.provision "shell", inline: "echo \"\nenv[APP_ENV] = 'local'\" >> /etc/php5/fpm/php-fpm.conf"
config.vm.provision "shell", inline: "echo \"\n#Set Homestead environment variable\nexport APP_ENV=local\" >> /home/vagrant/.profile"
config.vm.provision "shell", inline: "sudo service redis-server restart"
config.vm.provision "shell", inline: "sudo service beanstalkd restart"
config.vm.provision "shell", inline: "sudo service supervisor restart"
Expand Down
Loading

0 comments on commit 7ae002a

Please sign in to comment.