Created
December 23, 2015 21:05
-
-
Save maccevedor/16e8de3f990fcddcf535 to your computer and use it in GitHub Desktop.
From http://symfony.com/doc/current/cookbook/configuration/environments.html#creating-a-new-environment
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 'dev' environment and debug enabled | |
$ php bin/console command_name | |
# 'prod' environment (debug is always disabled for 'prod') | |
$ php bin/console command_name --env=prod | |
# 'test' environment and debug disabled | |
$ php bin/console command_name --env=test --no-debug |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment