core
core copied to clipboard
CLI Install script addition
I don’t know where to PR this so I put my suggestion here. I notice that after installation the CLI says
// You can start a webserver by running the following command:
It maybe more correct to say something like
// You can start a webserver by navigating into the newly created folder, and running the following command:
here, like in the docs.
Hey @evertalbers , looking into this more I see that the bolt:server
command (here: https://github.com/bolt/core/blob/master/src/Command/ServerCommand.php) runs with the --full-path
option when creating an installation. Therefore, it gives the command including the full path, like so:
Does this cover the point regarding changing folders?
That command would immediately start the server from the correct folder, if I understand it correctly? Yes, that would be an option.
An advantage of my proposed solution is that it is more in line with the info that users will find in the docs. It might confuse some that one mentions symfony
and the other bin/console
(although you're probably going to tell me that both are the same thing).