Skip to content

Instantly share code, notes, and snippets.

@darrencraig
Created May 7, 2013 06:38
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 darrencraig/5530650 to your computer and use it in GitHub Desktop.
Save darrencraig/5530650 to your computer and use it in GitHub Desktop.
Laravel 4 Pagodabox Boxfile
web1:
document_root: public
php_version: 5.3.10
php_extensions:
- apc
- mbstring
- mcrypt
- pdo_mysql
- zip
shared_writable_dirs:
- app/storage/cache
- app/storage/logs
- app/storage/meta
- app/storage/sessions
- app/storage/views
after_build:
- "if [ ! -f composer.phar ]; then curl -s http://getcomposer.org/installer | php; fi; php composer.phar install --prefer-source"
after_deploy:
- "rm -f app/storage/cache/*"
- "rm -f app/storage/views/*"
before_deploy:
- "php artisan migrate"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment