Skip to content

Commit

Permalink
Added note about exporting SYMFONY_ENV
Browse files Browse the repository at this point in the history
  • Loading branch information
jasonbouffard committed Aug 27, 2014
1 parent e9d317a commit 15ce0fe
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 @@ -106,6 +106,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 15ce0fe

Please sign in to comment.