File tree 1 file changed +9
-15
lines changed
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.
18
18
19
19
### Using the server
20
20
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 :
22
22
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
+ ```
29
26
30
27
#### Running the server locally
31
28
32
29
Running 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
+ ```
41
35
42
36
* 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