File tree 1 file changed +9
-9
lines changed 1 file changed +9
-9
lines changed Original file line number Diff line number Diff line change 2
2
3
3
4
4
## Endpoints
5
- GET ` / ` : Homepage provides a form to submit a message to be published
6
- GET ` /info ` : Returns environment information
7
- GET ` /publish ` : returns message ID on successfully publishing a message
5
+ - GET ` / ` : Homepage provides a form to submit a message to be published
6
+ - GET ` /info ` : Returns environment information
7
+ - GET ` /publish ` : returns message ID on successfully publishing a message
8
8
9
9
10
10
## Setup
11
11
12
- 1 . Make sure [ ` gcloud ` ] ( https://cloud.google.com/sdk/docs/ ) is installed and authenticated.
13
- 1 . [ Enable] ( https://console.cloud.google.com/launcher/details/google-cloud-platform/cloud-pub-sub )
12
+ - Make sure [ ` gcloud ` ] ( https://cloud.google.com/sdk/docs/ ) is installed and authenticated.
13
+ - [ Enable] ( https://console.cloud.google.com/launcher/details/google-cloud-platform/cloud-pub-sub )
14
14
Google Cloud Pub/Sub API in your Google Cloud Platform project.
15
- 1 . Create a topic
16
- ```
15
+ - Create a topic:
16
+ ```
17
17
gcloud beta pubsub topics create <your-topic-name>
18
- ```
19
- 1 . Update the environment variables ` PUBSUB_TOPIC ` in [ ` appengine-web.xml ` ] ( src/main/webapp/WEB-INF/appengine-web.xml ) .
18
+ ```
19
+ - Update the environment variables ` PUBSUB_TOPIC ` in [ ` appengine-web.xml ` ] ( src/main/webapp/WEB-INF/appengine-web.xml ) .
20
20
21
21
## Run locally
22
22
Set the following environment variables and run using shown Maven command. You can then
You can’t perform that action at this time.
0 commit comments