File tree Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change 2
2
3
3
A runtime for [ Google Cloud] ( https://cloud.google.com/ ) .
4
4
5
+ If you are new to the Symfony Runtime component, see the "The Long Story" down below.
6
+
5
7
## Installation
6
8
7
9
This runtime layer is special. It includes a ` router.php ` to enable the use of
@@ -55,12 +57,12 @@ return function(CloudEvent $cloudevent) {
55
57
56
58
## Troubleshooting
57
59
58
- ### Cache/Build directory
60
+ ### Cache/Build Directory
59
61
60
62
Note that Google Cloud will only deploy files that are not in ` .gitignore ` . You
61
63
need to remove the ` var/ ` entry before deployment to be able to warm up the cache etc.
62
64
63
- ### Define Symfony environment
65
+ ### Define Symfony Environment
64
66
65
67
Define environment variable ` APP_ENV=prod ` to use Symfony production mode.
66
68
@@ -72,7 +74,7 @@ gcloud functions deploy helloHttp \
72
74
--set-env-vars "FUNCTION_SOURCE=public/index.php,APP_ENV=prod"
73
75
```
74
76
75
- ## The long story
77
+ ## The Long Story
76
78
77
79
This section is for you who are new to Symfony Runtime component.
78
80
@@ -91,7 +93,7 @@ etc. The point is that your application does not care what runtime it is. This m
91
93
that you can run your application locally with a normal web server (like Nginx) and
92
94
deploy it to Google Cloud with zero changes and still be sure everything works.
93
95
94
- ### Google Cloud Runtime specifically
96
+ ### Google Cloud Runtime Specifically
95
97
96
98
Since Google Cloud is very similar to a "normal web server", this runtime only
97
99
contains 2 things:
You can’t perform that action at this time.
0 commit comments