Skip to content

Instantly share code, notes, and snippets.

@msurguy
Created June 14, 2013 17:15
Show Gist options
  • Save msurguy/5783665 to your computer and use it in GitHub Desktop.
Save msurguy/5783665 to your computer and use it in GitHub Desktop.
Pagodabox file for Laravel 4
web1:
document_root: public
php_version: 5.3.8
php_extensions:
- apc
- mbstring
- mcrypt
- pdo_mysql
- zip
- eaccelerator
- memcached
- curl
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"
cache1:
type: memcached
db1:
type: mysql
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment