File tree Expand file tree Collapse file tree 2 files changed +6
-8
lines changed Expand file tree Collapse file tree 2 files changed +6
-8
lines changed Original file line number Diff line number Diff line change 17
17
.phpunit.result.cache
18
18
/phpunit.xml
19
19
# ##< symfony/phpunit-bridge ###
20
-
21
20
# ##> symfony/webpack-encore-bundle ###
22
21
/node_modules /
23
22
npm-debug.log
Original file line number Diff line number Diff line change @@ -26,7 +26,13 @@ $ symfony new --demo my_project
26
26
Alternatively, you can use Composer:
27
27
28
28
``` bash
29
+ # you can create a new project based on the Symfony Demo project...
29
30
$ composer create-project symfony/symfony-demo my_project
31
+
32
+ # ...or you can clone the code repository and install its dependencies
33
+ $ git clone https://github.com/symfony/demo.git my_project
34
+ $ cd my_project/
35
+ $ composer install
30
36
```
31
37
32
38
If you want to test the demo without installing anything locally, you can also
@@ -47,13 +53,6 @@ $ cd my_project/
47
53
$ symfony serve
48
54
```
49
55
50
- If you have cloned the [ GitHub repository] ( https://github.com/symfony/demo ) , you
51
- must install the Composer dependencies.
52
-
53
- ``` bash
54
- $ composer install
55
- ```
56
-
57
56
Then access the application in your browser at the given URL (< https://localhost:8000 > by default).
58
57
59
58
If you don't have the Symfony binary installed, run ` php -S localhost:8000 -t public/ `
You can’t perform that action at this time.
0 commit comments