Skip to content

Commit

Permalink
Merge pull request #248 from jolicode/setup-symfony-dot-env
Browse files Browse the repository at this point in the history
Configure some dotenv when installing Symfony
  • Loading branch information
lyrixx authored Oct 20, 2023
2 parents 52f8f60 + ee1989e commit d1c450e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .castor/init.php
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,8 @@ function symfony(bool $webApp = false): void
if ($webApp) {
docker_compose_run('composer require webapp');
}

docker_compose_run("sed -i 's#^DATABASE_URL.*#DATABASE_URL=postgresql://app:app@postgres:5432/app\?serverVersion=16\&charset=utf8#' .env");
file_put_contents($gitIgnore, $gitIgnoreContent, FILE_APPEND);

fs()->remove($base . '/sf');
Expand Down

0 comments on commit d1c450e

Please sign in to comment.