File tree Expand file tree Collapse file tree 1 file changed +9
-15
lines changed Expand file tree Collapse file tree 1 file changed +9
-15
lines changed Original file line number Diff line number Diff line change @@ -18,25 +18,19 @@ Installing a monitoring tool (like [Sentry](https://sentry.io)) is recommended.
1818
1919### Using the server
2020
21- Using the server in your Symfony project is as easy as adding the proper endpoint to your ` composer.json ` :
21+ To enable recipes defined in your server, run the following command in your project :
2222
23- {
24- ...
25- "symfony": {
26- "endpoint": "https://your.domain.com"
27- }
28- }
23+ ``` sh
24+ composer config extra.symfony.endpoint https://your.domain.com
25+ ```
2926
3027#### Running the server locally
3128
3229Running the server locally is possible by using symfony's server command: ` php bin/console server:start ` (oder ` server:run ` for a temporary instance).
33- Make sure to allow connections over http to composer (if using localhost) by adding this to the project's ` composer.json ` :
34-
35- {
36- ...
37- "config": {
38- "secure-http": false
39- }
40- }
30+ Make sure to allow connections over http to composer (if using localhost) running the following command:
31+
32+ ``` sh
33+ composer config secure-http false
34+ ```
4135
4236* It is not recommended to run the server locally. The best setup would be a private server behind a firewall.*
You can’t perform that action at this time.
0 commit comments