core icon indicating copy to clipboard operation
core copied to clipboard

The provided docroot to start the webserver after fresh install produces an error

Open ankedsgn opened this issue 3 years ago • 0 comments

Hi all! Minor thing. After doing a fresh install of Bolt 5, and doing bin/console bolt:setup you get the nice prompt:

// You can start a webserver by running the following command:

 php bin/console server:start 8000 --docroot=/Users/myname/Sites/nameofmyproject

Problem: When opening the server at http://127.0.0.1:8000/, I get the error that the docroot should have pointed to the /public directory.

Expected: My new Bolt website

Proposed solution: The error makes sense, but maybe that should then also be included in the given prompt? (or not, and for instance say: use the command bin/console server:start or something like that.)

And more: Just my two cents! Keep up the good work!

Details

Question Answer
Relevant Bolt Version 5.1.20
Install type Composer install /
Web server Built-in

ankedsgn avatar Jan 22 '23 20:01 ankedsgn