Skip to content

Commit 4da7162

Browse files
committed
Minor tweak
1 parent 1c76016 commit 4da7162

File tree

1 file changed

+6
-7
lines changed

1 file changed

+6
-7
lines changed

deployment.rst

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -166,16 +166,15 @@ most natural in your hosting environment.
166166
167167
$ composer dump-env prod --empty
168168
169-
Sometimes ``composer`` may not be installed on your hosting environment. Thus you
170-
have to install and package Composer related code logic way before deploying.
171-
Another way to generate this optimized file is to manually register the built in
172-
command `Symfony\\Component\\Dotenv\\Command\\DotenvDumpCommand`
173-
and use it:
169+
If ``composer`` is not installed on your server, you can generate this optimized
170+
file with a command provided by Symfony itself, which you must register in
171+
your application before using it:
174172

175173
.. code-block:: yaml
176174
177-
services:
178-
Symfony\Component\Dotenv\Command\DotenvDumpCommand: ~
175+
# config/services.yaml
176+
services:
177+
Symfony\Component\Dotenv\Command\DotenvDumpCommand: ~
179178
180179
.. code-block:: terminal
181180

0 commit comments

Comments
 (0)