@@ -37,32 +37,37 @@ In other words, your new app is ready!
37
37
Running your Symfony Application
38
38
--------------------------------
39
39
40
- On production, you should use a web server like Nginx or Apache
41
- (see :doc: `configuring a web server to run Symfony </setup/web_server_configuration >`).
42
- But for development, it's convenient to use the :doc: `Symfony Local Web Server <setup/symfony_server >`.
40
+ On production, you should use a web server like Nginx or Apache (see
41
+ :doc: `configuring a web server to run Symfony </setup/web_server_configuration >`).
42
+ But for development, it's more convenient to use the
43
+ :doc: `Symfony Local Web Server <setup/symfony_server >`.
43
44
44
- .. note ::
45
+ This local server provides support for HTTP/2, TLS/SSL, automatic generation of
46
+ security certificates and many other features. It works with any PHP application,
47
+ not only Symfony projects, so it's a very useful development tool.
45
48
46
- If you want to use a virtual machine (VM) with Vagrant, check out
47
- :doc: `Homestead </setup/homestead >`.
48
-
49
- Move into your new project and start the server:
49
+ Once installed, move into your new project and start the local web server:
50
50
51
51
.. code-block :: terminal
52
52
53
53
$ cd my-project
54
54
$ symfony server:start
55
55
56
- Open your browser and navigate to ``http://localhost:8000/ ``. If everything is working,
57
- you'll see a welcome page. Later, when you are finished working, stop the server
58
- by pressing ``Ctrl+C `` from your terminal.
56
+ Open your browser and navigate to ``http://localhost:8000/ ``. If everything is
57
+ working, you'll see a welcome page. Later, when you are finished working, stop
58
+ the server by pressing ``Ctrl+C `` from your terminal.
59
59
60
60
.. tip ::
61
61
62
62
If you're having any problems running Symfony, your system may be missing
63
63
some technical requirements. Use the :doc: `Symfony Requirements Checker </reference/requirements >`
64
64
tool to make sure your system is set up.
65
65
66
+ .. note ::
67
+
68
+ If you want to use a virtual machine (VM) with Vagrant, check out
69
+ :doc: `Homestead </setup/homestead >`.
70
+
66
71
.. tip ::
67
72
68
73
If you're using a VM, you may need to tell the server to bind to all IP addresses:
0 commit comments