8000 Fix README formatting (#96) · sesi/functions-framework-python@033de0f · GitHub
[go: up one dir, main page]

Skip to content

Commit 033de0f

Browse files
authored
Fix README formatting (GoogleCloudPlatform#96)
1 parent 2b07aa9 commit 033de0f

File tree

1 file changed

+12
-15
lines changed

1 file changed

+12
-15
lines changed

README.md

Lines changed: 12 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -133,25 +133,22 @@ response instead.
133133
1. Install [Docker](https://store.docker.com/search?type=edition&offering=community) and the [`pack` tool](https://buildpacks.io/docs/install-pack/).
134134

135135
1. Build a container from your function using the Functions [buildpacks](https://github.com/GoogleCloudPlatform/buildpacks):
136-
```sh
137-
pack build \
138-
--builder gcr.io/buildpacks/builder:v1 \
139-
--env GOOGLE_FUNCTION_SIGNATURE_TYPE=http \
140-
--env GOOGLE_FUNCTION_TARGET=hello \
141-
my-first-function
142-
```
136+
137+
pack build \
138+
--builder gcr.io/buildpacks/builder:v1 \
139+
--env GOOGLE_FUNCTION_SIGNATURE_TYPE=http \
140+
--env GOOGLE_FUNCTION_TARGET=hello \
141+
my-first-function
143142

144143
1. Start the built container:
145-
```sh
146-
docker run --rm -p 8080:8080 my-first-function
147-
# Output: Serving function...
148-
```
144+
145+
docker run --rm -p 8080:8080 my-first-function
146+
# Output: Serving function...
149147

150148
1. Send requests to this function using `curl` from another terminal window:
151-
```sh
152-
curl localhost:8080
153-
# Output: Hello World!
154-
```
149+
150+
curl localhost:8080
151+
# Output: Hello World!
155152

156153
## Run your function on serverless platforms
157154

0 commit comments

Comments
 (0)
0