Skip to content

Instantly share code, notes, and snippets.

@jazzdan
Created April 23, 2012 19:56
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 jazzdan/2473416 to your computer and use it in GitHub Desktop.
Save jazzdan/2473416 to your computer and use it in GitHub Desktop.
Boxfile
global:
env:
- LARAVEL_ENV: production
web1:
name: hipsta2
shared_writable_dirs:
- /storage/cache
- /storage/database
- /storage/logs
- /storage/sessions
- /storage/views
- /storage/work
document_root: /public
php_version: 5.3.10
php_extensions:
- pdo_mysql
- mcrypt
- eaccelerator
- memcache
- oauth
before_deploy:
- "php artisan migrate:install"
- "php artisan migrate"
after_deploy:
- "php artisan addachievements"
- "rm -f storage/cache/*"
- "rm -f storage/views/*"
worker1:
name: addachievements
type: php
exec: "php /var/www/workers/addachievements.php"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment