Last active
December 11, 2015 01:18
-
-
Save cborgia/4522168 to your computer and use it in GitHub Desktop.
Pagodabox.com Boxfile for Laravel 4 (with support for composer)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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.3.8 | |
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