sulu-docs icon indicating copy to clipboard operation
sulu-docs copied to clipboard

Document use of PHP's built-in server by default

Open webmozart opened this issue 9 years ago • 5 comments

In the Getting Started section, PHP's built-in webserver should be used by default. For getting started it's irrelevant to a user how to configure Apache or Nginx. Instead, it should be possible to set up the project as easily and quickly as possible.

webmozart avatar Feb 29 '16 15:02 webmozart

The following command is needed to run the web server:

$ app/console server:run --router app/config/router_admin.php

webmozart avatar Feb 29 '16 16:02 webmozart

See also sulu-io/sulu#2069 and sulu-io/sulu#2070.

webmozart avatar Feb 29 '16 16:02 webmozart

Just FYI: This way the website is not accessible, and only the admin routes are available. That's not really satisfying, is it?

danrot avatar Mar 02 '16 06:03 danrot

@danrot Yes, hence: https://github.com/sulu-io/sulu-standard/issues/621 :)

webmozart avatar Mar 02 '16 09:03 webmozart

FYI ... The platform.sh also needs only one front-controller. So I've added a web/app.php entrypoint which instantiates the kernel depending on the request url. https://github.com/sulu-io/sulu-standard/pull/601

chirimoya avatar Mar 02 '16 10:03 chirimoya