File tree Expand file tree Collapse file tree 1 file changed +17
-7
lines changed Expand file tree Collapse file tree 1 file changed +17
-7
lines changed Original file line number Diff line number Diff line change @@ -14,22 +14,31 @@ Requirements
1414Installation
1515------------
1616
17+ Install the [ Symfony client] [ 4 ] binary and run this command:
18+
19+ ``` bash
20+ $ symfony new --demo my_project
21+ ```
22+
23+ Alternatively, you can use Composer:
24+
1725``` bash
18- $ composer create-project symfony/symfony-demo
26+ $ composer create-project symfony/symfony-demo my_project
1927```
2028
2129Usage
2230-----
2331
24- There's no need to configure anything to run the application. Just execute this
25- command to run the built-in web server and access the application in your
26- browser at < http://localhost:8000 > :
32+ There's no need to configure anything to run the application. If you have
33+ installed the [ Symfony client ] [ 4 ] binary, run this command to run the built-in
34+ web server and access the application in your browser at < http://localhost:8000 > :
2735
2836``` bash
29- $ cd symfony-demo /
30- $ php bin/console server:run
37+ $ cd my_project /
38+ $ symfony serve
3139```
3240
41+ If you don't have the Symfony client installed, run ` php bin/console server:run ` .
3342Alternatively, you can [ configure a web server] [ 3 ] like Nginx or Apache to run
3443the application.
3544
@@ -39,10 +48,11 @@ Tests
3948Execute this command to run tests:
4049
4150``` bash
42- $ cd symfony-demo /
51+ $ cd my_project /
4352$ ./bin/phpunit
4453```
4554
4655[ 1 ] : https://symfony.com/doc/current/best_practices/index.html
4756[ 2 ] : https://symfony.com/doc/current/reference/requirements.html
4857[ 3 ] : https://symfony.com/doc/current/cookbook/configuration/web_server_configuration.html
58+ [ 4 ] : https://symfony.com/download
You can’t perform that action at this time.
0 commit comments