-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Simplified the README instructions #676
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
Conversation
| > If you want to use a fully-featured web server (like Nginx or Apache) to run | ||
| > Symfony Demo application, configure it to point at the `web/` directory of the project. | ||
| > For more details, see: | ||
| > https://symfony.com/doc/current/cookbook/configuration/web_server_configuration.html |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should this note be removed entirely ? I think it might make sense to keep it. People using the symfony-demo to benchmark Symfony should hopefully do it with Apache/Nginx and PHP-FPM rather than using the single-threaded builtin webserver.
README.md
Outdated
|
|
||
| # if you're using Windows: | ||
| $ php symfony demo | ||
| $ composer create symfony/symfony-demo |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I suggest using the actual name (create-project) rather than relying on the symfony/console shortcut feature. If someone has a global plugin installed providing a create command, this would run the wrong command.
|
|
||
| ```bash | ||
| $ cd symfony_demo/ | ||
| $ cd symfony-demo/ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It was on purpose because Symfony installer creates symfony_demo folder instead, i.e. when $ symfony demo. Do we completely drop Symfony installer support?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes! But now with "composer create symfony/symfony-demo" it generates "symfony-demo/" so I think we must update this.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If we remove Symfony installer from this README then 👍
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's removed :) This is how the new README looks: https://github.com/javiereguiluz/symfony-demo/blob/5b68ac7205f7ef3c19115593170ba132279f48c6/README.md
This is needed because we're moving away from the Symfony Installer and we'll use Composer's create-project from now on.