Skip to content

Commit

Permalink
Add protobuf dep and install instructions (#2250)
Browse files Browse the repository at this point in the history
  • Loading branch information
averikitsch authored Jul 1, 2019
1 parent 741b0b7 commit 864a475
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 1 deletion.
12 changes: 12 additions & 0 deletions tasks/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,18 @@ Please refer to [Setting Up a Python Development Environment](https://cloud.goog
To set up authentication, please refer to our
[authentication getting started guide](https://cloud.google.com/docs/authentication/getting-started).

## Install Dependencies

To install the dependencies for this sample, use the following command:

```
pip install -r requirements.txt
```

This sample uses the common protos in the [googleapis](https://github.com/googleapis/googleapis)
repository. For more info, see
[Protocol Buffer Basics](https://developers.google.com/protocol-buffers/docs/pythontutorial).

## Creating a queue

To create a queue (named `my-queue`) using the Cloud SDK, use the following
Expand Down
3 changes: 2 additions & 1 deletion tasks/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
Flask==1.0.2
gunicorn==19.9.0
google-cloud-tasks==0.7.0
google-cloud-tasks==1.1.0
googleapis-common-protos==1.6.0

0 comments on commit 864a475

Please sign in to comment.