Skip to content

Instantly share code, notes, and snippets.

@ekka21
Last active December 19, 2015 07:29
Show Gist options
  • Save ekka21/5918840 to your computer and use it in GitHub Desktop.
Save ekka21/5918840 to your computer and use it in GitHub Desktop.
Pagoda: Boxfile
web1:
document_root: public
php_version: 5.3.10
php_extensions:
- mbstring
- mcrypt
- pdo_mysql
- mysql
- apc
- memcached
- eaccelerator
- curl
php_post_max_size: "20M"
php_upload_max_filesize: "20M"
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"
- "[[ $APP_NAME == 'APP_NAME' ]] && cp -u pagoda/robots-prod.txt public/robots.txt || cp -u pagoda/robots-qa.txt public/robots.txt"
before_deploy:
- "php artisan migrate"
after_deploy:
- "rm -f app/storage/cache/*"
- "rm -f app/storage/views/*"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment