Skip to content

Instantly share code, notes, and snippets.

@nWidart
Created May 16, 2013 17:20
Show Gist options
  • Select an option

  • Save nWidart/5593424 to your computer and use it in GitHub Desktop.

Select an option

Save nWidart/5593424 to your computer and use it in GitHub Desktop.
Laravel 4 Boxfile
global:
env:
- LARAVEL_ENV: pagoda
web1:
name: l4-web
shared_writable_dirs:
- app/storage/cache
- app/storage/logs
- app/storage/meta
- app/storage/sessions
- app/storage/views
document_root: /public
php_display_errors: "0"
php_version: 5.4.14
php_extensions:
- pdo_mysql
- mcrypt
- eaccelerator
- memcached
- curl # for composer
- zip # for composer
before_deploy:
- "php artisan migrate"
after_deploy:
- "rm -f app/storage/cache/*"
- "rm -f app/storage/views/*"
after_build:
- "if [ ! -f composer.phar ]; then curl -s http://getcomposer.org/installer | php; fi; php composer.phar install"
db1:
name: l4-db
type: mysql
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment