Skip to content

Commit

Permalink
feature #4182 Added note about exporting SYMFONY_ENV (jpb0104)
Browse files Browse the repository at this point in the history
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 de60dbe
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions cookbook/deployment/tools.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
~~~~~~~~~~~~~~~~~~~~~~~~~~~

Expand Down

0 comments on commit de60dbe

Please sign in to comment.