File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 22
33A runtime for [ Google Cloud] ( https://cloud.google.com/ ) .
44
5+ If you are new to the Symfony Runtime component, see the "The Long Story" down below.
6+
57## Installation
68
79This runtime layer is special. It includes a ` router.php ` to enable the use of
@@ -55,12 +57,12 @@ return function(CloudEvent $cloudevent) {
5557
5658## Troubleshooting
5759
58- ### Cache/Build directory
60+ ### Cache/Build Directory
5961
6062Note that Google Cloud will only deploy files that are not in ` .gitignore ` . You
6163need to remove the ` var/ ` entry before deployment to be able to warm up the cache etc.
6264
63- ### Define Symfony environment
65+ ### Define Symfony Environment
6466
6567Define environment variable ` APP_ENV=prod ` to use Symfony production mode.
6668
@@ -72,7 +74,7 @@ gcloud functions deploy helloHttp \
7274 --set-env-vars "FUNCTION_SOURCE=public/index.php,APP_ENV=prod"
7375```
7476
75- ## The long story
77+ ## The Long Story
7678
7779This section is for you who are new to Symfony Runtime component.
7880
@@ -91,7 +93,7 @@ etc. The point is that your application does not care what runtime it is. This m
9193that you can run your application locally with a normal web server (like Nginx) and
9294deploy it to Google Cloud with zero changes and still be sure everything works.
9395
94- ### Google Cloud Runtime specifically
96+ ### Google Cloud Runtime Specifically
9597
9698Since Google Cloud is very similar to a "normal web server", this runtime only
9799contains 2 things:
You can’t perform that action at this time.
0 commit comments