-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathBoxfile
44 lines (40 loc) · 1.56 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
44
web1:
name: fixthatcode
shared_writable_dirs:
- app/cache
- app/logs
document_root: web
default_gateway: app.php
index_list: [app.php]
php_version: 5.3.8
php_extensions:
- intl
- mbstring
- xsl
- apc
- mysql
- pdo_mysql
- zip
after_build:
- "echo 'parameters:' >> app/config/parameters.yml"
- "echo ' database_driver: pdo_mysql' >> app/config/parameters.yml"
- "echo ' database_host: %database.host%' >> app/config/parameters.yml"
- "echo ' database_port: 3306' >> app/config/parameters.yml"
- "echo ' database_name: %database.name%' >> app/config/parameters.yml"
- "echo ' database_user: %database.user%' >> app/config/parameters.yml"
- "echo ' database_password: %database.password%' >> app/config/parameters.yml"
- "echo ' mailer_transport: smtp' >> app/config/parameters.yml"
- "echo ' mailer_host: localhost' >> app/config/parameters.yml"
- "echo ' mailer_user: ~' >> app/config/parameters.yml"
- "echo ' mailer_password: ~' >> app/config/parameters.yml"
- "echo ' locale: en' >> app/config/parameters.yml"
- "echo ' secret: 87f2671fe0f483a5571f55211107764c0e66df6c' >> app/config/parameters.yml"
- "php bin/composer.phar install"
before_deploy:
- "php app/console doctrine:schema:update --force"
db1:
type: mysql
global:
env:
- APP_NAME: fixthatcode
- ENV: dev