File tree 1 file changed +4
-4
lines changed
1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -305,13 +305,13 @@ Symfony applications come with a file called ``.env`` located at the project
305
305
root directory. This file is used to define the value of environment variables
306
306
and it's explained in detail :ref: `later in this article <config-dot-env >`.
307
307
308
- Open the ``.env `` file and edit the value of the `` APP_ENV `` variable to change
309
- the environment in which the application runs. For example, to run the
310
- application in production:
308
+ Open the ``.env `` file (or better, the `` .env.local `` file if you created one)
309
+ and edit the value of the `` APP_ENV `` variable to change the environment in
310
+ which the application runs. For example, to run the application in production:
311
311
312
312
.. code-block :: bash
313
313
314
- # .env
314
+ # .env (or .env.local)
315
315
APP_ENV=prod
316
316
317
317
This value is used both for the web and for the console commands. However, you
You can’t perform that action at this time.
0 commit comments