You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+56-22Lines changed: 56 additions & 22 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -55,6 +55,60 @@ Following the same philosophy since Symfony 4, as well as you can set environmen
55
55
$ APP_CONTEXT=admin php -S 127.0.0.1:8000 -t public
56
56
$ APP_CONTEXT=api php -S 127.0.0.1:8001 -t public
57
57
58
+
### Use Symfony local webserver
59
+
60
+
You will need to use [Symfony local server](https://symfony.com/doc/current/setup/symfony_server.html) and its [proxy](https://symfony.com/doc/current/setup/symfony_server.html#setting-up-the-local-proxy).
61
+
62
+
First, start Symfony proxy by doing `symfony proxy:start` in the project folder.
63
+
64
+
Then, create a [symlink](https://en.wikipedia.org/wiki/Symbolic_link) pointing to your project folder for each of your applications. You can keep them in a folder in your project or outside it, as you prefer.
65
+
66
+
├── applications/
67
+
│ ├── admin
68
+
| ├── api
69
+
| └── site
70
+
├── config/
71
+
├── src/
72
+
└── var/
73
+
74
+
Next, you'll need to configure each local server and start it. To do so, you will use the created symlinks, like so:
0 commit comments