Starbugstone / SnowTricks

OpenClassrooms - Php Symfony App dev - project 6
0 stars 0 forks source link

Do not commit the env file. #20

Closed Starbugstone closed 5 years ago

Starbugstone commented 5 years ago

The env file should not be commited and add an env.dist that the user will config

Starbugstone commented 5 years ago

After checking out doc, the env.local takes priority over the env file. And the .local files are in the gitignore So need to create an env.local and config there https://symfony.com/doc/current/configuration/dot-env-changes.html