File tree Expand file tree Collapse file tree 1 file changed +5
-7
lines changed Expand file tree Collapse file tree 1 file changed +5
-7
lines changed Original file line number Diff line number Diff line change @@ -34,24 +34,22 @@ In other words, your new app is ready!
34
34
35
35
$ composer create-project symfony/skeleton my-project
36
36
37
+ # optional: install the web server bundle (explained next)
38
+ $ cd my-project
39
+ $ composer require symfony/web-server-bundle --dev
40
+
37
41
Running your Symfony Application
38
42
--------------------------------
39
43
40
44
On production, you should use a web server like Nginx or Apache
41
45
(see :doc: `configuring a web server to run Symfony </setup/web_server_configuration >`).
42
46
But for development, it's even easier to use the :doc: `Symfony PHP web server <setup/built_in_web_server >`.
43
47
44
- If you have downloaded the skeleton version, move into your new project and install the server:
48
+ Move into your new project and start the server:
45
49
46
50
.. code-block :: terminal
47
51
48
52
$ cd my-project
49
- $ composer require symfony/web-server-bundle --dev
50
-
51
- To start the server, run:
52
-
53
- .. code-block :: terminal
54
-
55
53
$ php bin/console server:run
56
54
57
55
Open your browser and navigate to ``http://localhost:8000/ ``. If everything is working,
You can’t perform that action at this time.
0 commit comments