Skip to content

[Cookbook] Added note to deployment tools about exporting SYMFONY_ENV #4001

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 19 commits into from
Closed
Changes from 1 commit
Commits
Show all changes
19 commits
Select commit Hold shift + click to select a range
45ea62b
Added note about exporting SYMFONY_ENV
jasonbouffard Jul 6, 2014
81cec5d
Fix documentation for group_sequence_provider
giosh94mhz Aug 18, 2014
37ab23d
document multiple recipients in XML configs
xabbuh Aug 17, 2014
dc33b0c
add missing Monolog handler type in XML config
xabbuh Aug 18, 2014
2c93aa5
bug #4147 [Cookbook][Logging] add missing Monolog handler type in XML…
weaverryan Aug 21, 2014
93bbd14
tweaks for the web server configuration chapter
xabbuh Aug 17, 2014
da441ae
Fixed minor typos.
ahsio Aug 22, 2014
a49c892
Removing extra whitespace
weaverryan Aug 22, 2014
be90d8a
feature #4142 [Cookbook][Configuration] tweaks for the web server con…
weaverryan Aug 22, 2014
8c96e42
Added the schema_filter option to the reference
peterrehm Aug 20, 2014
7a6e3d1
feature #4150 Added the schema_filter option to the reference (peterr…
weaverryan Aug 22, 2014
bccb080
feature #4140 [Cookbook][Logging] document multiple recipients in XML…
weaverryan Aug 25, 2014
eaaa35a
bug #4145 Fix documentation for group_sequence_provider (giosh94mhz)
weaverryan Aug 25, 2014
fb98977
Adding 'attr' option to the Textarea options list
ronanguilloux Aug 20, 2014
3e68ee7
minor #4152 Adding 'attr' option to the Textarea options list (ronang…
weaverryan Aug 25, 2014
4882b99
bug #4164 Fixed minor typos. (ahsio)
weaverryan Aug 25, 2014
e9d317a
minor #4160 [Reference] consistent & complete config examples (xabbuh)
weaverryan Aug 25, 2014
0f84ab5
Added note about exporting SYMFONY_ENV
jasonbouffard Jul 6, 2014
ef7e8d5
Merge branch '2.3' of github.com:jpb0104/symfony-docs into 2.3
jasonbouffard Aug 27, 2014
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions cookbook/deployment/tools.rst
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,11 @@ as you normally do:
ensures that development packages are not installed in the production
environment.

.. note::
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

what do you think of changing this to .. caution::?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+1


You may need to pass the environment name via ``export SYMFONY_ENV=prod``
for the Symfony ``post-install-cmd`` commands to execute properly.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why not be even more specific? Something like:

If you get a "class not found" error during this step, you may need to
run ``export SYMFONY_ENV=prod`` before running this command so that
the ``post-install-cmd`` scripts run in the ``prod`` environment.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍 That's what I had in mind when I wrote the comment. Though I would split this into two sentences.


C) Clear your Symfony cache
~~~~~~~~~~~~~~~~~~~~~~~~~~~

Expand Down