We have environments and everything is going great, but we don't have an app/console
script. So we can't use any of the handy commands like debug:router or debug:container.
And, if you surf to a 404 page, it's still missing its CSS. That's because we need
to run app/console assets:install so that it can symlink or copy a few core CSS
files that the exception page uses. That's a bit difficult right now, since there
is no console script in our project.
Let's go steal it from the standard edition. On GitHub, head into the app directory,
open console and copy its contents. Now, put our new console file right at the
root of the project and make sure PhpStorm formats it as a PHP file. Paste the contents:
The biggest thing we need to change is the $env and $debug variables. Let's grab
that code from index.php. PhpStorm is being weird and hiding my web/ directory...
now it's back. Copy the 4 dotenv lines from index.php. Now in console, delete
the $env and $debug lines and paste our stuff: