Permalink
Browse files

feature #4182 Added note about exporting SYMFONY_ENV (jpb0104)

This PR was merged into the 2.3 branch.

Discussion
----------

Added note about exporting SYMFONY_ENV

New PR to replace the mess I made in #4001. Sorry about that. I also applied all the suggestions.

Commits
-------

15ce0fe Added note about exporting SYMFONY_ENV
  • Loading branch information...
weaverryan committed Sep 16, 2014
2 parents 08639ae + 15ce0fe commit de60dbed64c719792c0259248e4dc52aefd6b088
Showing with 6 additions and 0 deletions.
  1. +6 −0 cookbook/deployment/tools.rst
@@ -110,6 +110,12 @@ as you normally do:
ensures that development packages are not installed in the production
environment.
.. caution::
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.
D) Clear your Symfony Cache
~~~~~~~~~~~~~~~~~~~~~~~~~~~

0 comments on commit de60dbe

Please sign in to comment.