Skip to content

Instantly share code, notes, and snippets.

@wayanjimmy
Created January 29, 2015 03:10
Show Gist options
  • Save wayanjimmy/0ad1cc4053cb2c7e2980 to your computer and use it in GitHub Desktop.
Save wayanjimmy/0ad1cc4053cb2c7e2980 to your computer and use it in GitHub Desktop.
Laravel Pagoda Boxfile
web1:
document_root: public
php_version: 5.4.14
php_error_reporting: 0
php_extensions:
- mbstring
- mcrypt
- pdo_mysql
- redis
- zip
- xcache
- gd
php_session_save_handler: redis
php_session_save_path: "tcp://tunnel.pagodabox.com:6379"
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 --no-progress"
after_deploy:
- "php artisan cache:clear"
- "rm -f app/storage/views/*"
- "php artisan db:seed"
before_deploy:
- "php artisan migrate"
cache1:
type: redis
@wayanjimmy
Copy link
Author

dont forget add Boxfile.install

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment