@@ -22,20 +22,20 @@ There are 3 different ways of installing this project depending on your needs:
22
22
on your computer to run this command:
23
23
24
24
``` bash
25
- $ symfony new --demo my_project
25
+ symfony new --demo my_project
26
26
```
27
27
28
28
** Option 2.** [ Download Composer] [ 6 ] and use the ` composer ` binary installed
29
29
on your computer to run these commands:
30
30
31
31
``` bash
32
32
# you can create a new project based on the Symfony Demo project...
33
- $ composer create-project symfony/symfony-demo my_project
33
+ composer create-project symfony/symfony-demo my_project
34
34
35
35
# ...or you can clone the code repository and install its dependencies
36
- $ git clone https://github.com/symfony/demo.git my_project
37
- $ cd my_project/
38
- $ composer install
36
+ git clone https://github.com/symfony/demo.git my_project
37
+ cd my_project/
38
+ composer install
39
39
```
40
40
41
41
** Option 3.** Click the following button to deploy this project on Platform.sh,
@@ -54,8 +54,8 @@ There's no need to configure anything before running the application. There are
54
54
** Option 1.** [ Download Symfony CLI] [ 4 ] and run this command:
55
55
56
56
``` bash
57
- $ cd my_project/
58
- $ symfony serve
57
+ cd my_project/
58
+ symfony serve
59
59
```
60
60
61
61
Then access the application in your browser at the given URL (< https://localhost:8000 > by default).
@@ -66,8 +66,8 @@ Then access the application in your browser at the given URL (<https://localhost
66
66
On your local machine, you can run this command to use the built-in PHP web server:
67
67
68
68
``` bash
69
- $ cd my_project/
70
- $ php -S localhost:8000 -t public/
69
+ cd my_project/
70
+ php -S localhost:8000 -t public/
71
71
```
72
72
73
73
Tests
76
76
Execute this command to run tests:
77
77
78
78
``` bash
79
- $ cd my_project/
80
- $ ./bin/phpunit
79
+ cd my_project/
80
+ ./bin/phpunit
81
81
```
82
82
83
83
[ 1 ] : https://symfony.com/doc/current/best_practices.html
0 commit comments