Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Select an option

  • Save willianmano/9513917 to your computer and use it in GitHub Desktop.

Select an option

Save willianmano/9513917 to your computer and use it in GitHub Desktop.
global:
env:
- LARAVEL_ENV: production
web1:
name: securityapp
php_version: 5.3.23
php_display_errors: "32767"
php_extensions:
- mcrypt
- pdo_mysql
- zip
- apc
- mbstring
- curl
shared_writable_dirs:
- app/storage/cache
- app/storage/logs
- app/storage/meta
- app/storage/sessions
- app/storage/views
document_root: public
after_build:
- "if [ ! -f composer.phar ]; then curl -s http://getcomposer.org/installer | php; fi; php composer.phar install --prefer-source"
before_deploy:
- "php artisan migrate"
- "php artisan db:seed"
after_depoly:
- "rm -f app/storage/cache/*"
- "rm -f app/storage/views/*"
db1:
name: securityapp_db
type: mysql
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment