core icon indicating copy to clipboard operation
core copied to clipboard

CLI Install script addition

Open evertalbers opened this issue 2 years ago • 2 comments

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.

evertalbers avatar Nov 22 '21 11:11 evertalbers

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:

image

Does this cover the point regarding changing folders?

I-Valchev avatar Nov 23 '21 12:11 I-Valchev

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).

evertalbers avatar Nov 23 '21 13:11 evertalbers