-
Notifications
You must be signed in to change notification settings - Fork 2
/
Boxfile
32 lines (32 loc) · 790 Bytes
/
Boxfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
global:
env:
- LARAVEL_ENV: production
web1:
document_root: public
php_version: 5.4.14
php_extensions:
- mbstring
- mcrypt
- pdo_mysql
- redis
- zip
- xcache
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"
after_deploy:
- "php artisan cache:clear"
- "rm -f app/storage/views/*"
before_deploy:
- "php artisan migrate:reset"
- "php artisan migrate"
- "php artisan db:seed"
cache1:
type: redis