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

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

Open
webmozart opened this issue Feb 29, 2016 · 5 comments
Open

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

webmozart opened this issue Feb 29, 2016 · 5 comments
Assignees
Labels

Comments

@webmozart
Copy link
Contributor

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 webmozart self-assigned this Feb 29, 2016
@webmozart webmozart added the DX label Feb 29, 2016
@webmozart
Copy link
Contributor Author

The following command is needed to run the web server:

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

@webmozart
Copy link
Contributor Author

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

@danrot
Copy link
Contributor

danrot commented Mar 2, 2016

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

@webmozart
Copy link
Contributor Author

@danrot Yes, hence: sulu/sulu-standard#621 :)

@chirimoya
Copy link
Member

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. sulu/sulu-standard#601

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants