Commit d7e568437b811f11bd62081348454501176405e4
Committed by
GitHub
Exists in
2.8
and in
6 other branches
Merge pull request #665 from portabilis/build
[2.2] Altera o host do banco de dados ao fazer build
Showing
1 changed file
with
1 additions
and
0 deletions
Show diff stats
scripts/build
... | ... | @@ -8,6 +8,7 @@ git checkout-index --prefix=${BUILD_FOLDER}/ -a -f |
8 | 8 | cd ${BUILD_FOLDER} |
9 | 9 | sed -i.bak 's/APP_ENV=local/APP_ENV=production/g' .env.example && rm .env.example.bak |
10 | 10 | sed -i.bak 's/APP_DEBUG=true/APP_DEBUG=false/g' .env.example && rm .env.example.bak |
11 | +sed -i.bak 's/DB_HOST=postgres/DB_HOST=localhost/g' .env.example && rm .env.example.bak | |
11 | 12 | composer install --no-dev --ignore-platform-reqs --optimize-autoloader |
12 | 13 | git clone https://github.com/portabilis/i-educar-reports-package.git ieducar/modules/Reports |
13 | 14 | rm -fR ieducar/modules/Reports/.git | ... | ... |