Skip to content

Commit a864dfa

Browse files
committed
Add Readme
1 parent 392bf10 commit a864dfa

File tree

1 file changed

+29
-0
lines changed

1 file changed

+29
-0
lines changed

jobs/cjd_sample/README.md

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
# Google Cloud Job Discovery API Samples
2+
3+
## Description
4+
5+
These samples show how to use the [Google Cloud Job Discovery API]
6+
(https://cloud.google.com/job-discovery/).
7+
8+
## Build and Run
9+
1. **Enable APIs** - [Enable the Job Discovery API](https://console.cloud.google.com/flows/enableapi?apiid=jobs.googleapis.com)
10+
and create a new project or select an existing project.
11+
2. **Activate your Credentials** - If you do not already have an active set of credentials, create and download a [JSON Service Account key](https://pantheon.corp.google.com/apis/credentials/serviceaccountkey). Set the environment variable `GOOGLE_APPLICATION_CREDENTIALS` as the path to the downloaded JSON file.
12+
4. **Clone the repo** and cd into this directory
13+
14+
```
15+
$ git clone https://github.com/GoogleCloudPlatform/php-docs-samples
16+
$ cd php-docs-samples/jobs/cjd_sample
17+
```
18+
5. **Install dependencies** via [Composer](http://getcomposer.org/doc/00-intro.md).
19+
Run `php composer.phar install` (if composer is installed locally) or `composer install`
20+
(if composer is installed globally).
21+
6. Run `php quickstart.php`.
22+
23+
## Contributing changes
24+
25+
* See [CONTRIBUTING.md](../../CONTRIBUTING.md)
26+
27+
## Licensing
28+
29+
* See [LICENSE](../../LICENSE)

0 commit comments

Comments
 (0)