Skip to content

Commit

Permalink
add note about comitting env files
Browse files Browse the repository at this point in the history
  • Loading branch information
fritzmg authored Jun 13, 2024
1 parent f7ef59e commit 07639e4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/dev/getting-started/starting-development.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,8 +63,8 @@ configurations, if present:

| File | Explanation |
| ------------------------ | --------------------------------------------------------------------------------------------- |
| `.env` | Defaults for environment variables or environment variables that are agnostic to the environment. |
| `.env.local` | Loaded if `.env` exists. Defines or overrides environment variables for the current environment (e.g. database and SMTP credentials). |
| `.env` | Defaults for environment variables or environment variables that are agnostic to the environment. This can be comitted to your project's repository and thus should not contain any sensitive data. |
| `.env.local` | Loaded if `.env` exists. Defines or overrides environment variables for the current environment (e.g. database and SMTP credentials). This should be added to your `.gitignore` as it typically contains sensitive data. |
| `config/config.yaml` | Configuration of any bundle/package/extension. |
| `config/config_dev.yaml` | Configuration for the `dev` environment. |
| `config/config_prod.yaml` | Configuration for the `prod` environment. |
Expand Down

0 comments on commit 07639e4

Please sign in to comment.