forked from sleeping-owl/admin_demo
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathBoxfile
30 lines (30 loc) · 838 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
web1:
document_root: public
php_version: 5.4.14
php_extensions:
- gd
- intl
- 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 --no-progress --no-dev"
after_deploy:
- "php artisan cache:clear"
- "rm -f app/storage/views/*"
before_deploy:
- "php artisan migrate --seed"
- 'php artisan db:seed --class="\SleepingOwl\AdminAuth\Database\Seeders\AdministratorsTableSeeder"'
cache1:
type: redis