-
Notifications
You must be signed in to change notification settings - Fork 3
/
Boxfile
43 lines (37 loc) · 1.13 KB
/
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
33
34
35
36
37
38
39
40
41
42
43
web1:
shared_writable_dirs:
- app/cache
- app/logs
- app/sessions
document_root: web
default_gateway: app.php
index_list: [app.php]
php_version: 5.3.10
php_extensions:
- apc
- intl
- mbstring
- xsl
- mysql
- pdo_mysql
- zip
php_short_open_tag: "0"
php_magic_quotes_gpc: "0"
php_register_globals: "0"
php_session_autostart: "0"
php_date_timezone: America/Detroit
after_build:
- "cp app/config/parameters.pagoda.yml app/config/parameters.yml"
- "curl -s http://getcomposer.org/installer | php -- --quiet; php composer.phar install -n"
- "php app/console --env=prod --no-debug assetic:dump -n"
- "php vendor/symfony/symfony/src/Symfony/Component/Locale/Resources/data/build-data.php"
before_deploy:
- "php app/console --env=prod --no-debug cache:clear --no-warmup"
- "php app/console --env=prod --no-debug cache:warmup"
- "php app/console --env=prod --no-debug doctrine:migrations:migrate -n"
db1:
name: symfony
type: mysql
global:
env:
- USE_INTL_ICU_DATA_VERSION: true