Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
ankedsgn opened this issue Jan 22, 2023 · 0 comments

Comments

@ankedsgn
Copy link

ankedsgn commented Jan 22, 2023

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant