|
1 | 1 | # Getting started with Node.js on Google Cloud Platform |
2 | 2 |
|
3 | | -[](https://travis-ci.org/GoogleCloudPlatform/nodejs-getting-started) |
| 3 | +[![Build Status][travis-badge]][travis-link] |
4 | 4 |
|
5 | | -This repository is the complete sample code for the [Node.js Getting Started on Google Cloud Platform](http://cloud.google.com/nodejs/getting-started) tutorials. Please refer to the tutorials for instructions on configuring, running, and deploying these samples. |
| 5 | +This repository contains the complete sample code for the |
| 6 | +[Node.js Getting Started on Google Cloud Platform][getting-started] tutorials. |
| 7 | +Please refer to the tutorials for instructions on configuring, running, and |
| 8 | +deploying these samples. |
6 | 9 |
|
7 | | -The code for the samples is contained in individual branches on this repository. |
| 10 | +The code for each tutorial is in an individual folder in this repository. |
8 | 11 |
|
9 | 12 | Tutorial | Folder |
10 | 13 | ---------|------- |
11 | | -[Hello world](https://cloud.google.com/nodejs/getting-started/hello-world) | [1-hello-world](https://github.com/GoogleCloudPlatform/nodejs-getting-started/tree/master/1-hello-world) |
12 | | -[Structured data](https://cloud.google.com/nodejs/getting-started/using-structured-data) | [2-structured-data](https://github.com/GoogleCloudPlatform/nodejs-getting-started/tree/master/2-structured-data) |
13 | | -[Cloud Storage](https://cloud.google.com/nodejs/getting-started/using-cloud-storage) | [3-binary-data](https://github.com/GoogleCloudPlatform/nodejs-getting-started/tree/master/3-binary-data) |
14 | | -[Authenticating users](https://cloud.google.com/nodejs/getting-started/authenticate-users) | [4-auth](https://github.com/GoogleCloudPlatform/nodejs-getting-started/tree/master/4-auth) |
15 | | -[Logging app events](https://cloud.google.com/nodejs/getting-started/logging-application-events) | [5-logging](https://github.com/GoogleCloudPlatform/nodejs-getting-started/tree/master/5-logging) |
16 | | -[Using Cloud Pub/Sub](https://cloud.google.com/nodejs/getting-started/using-pub-sub) | [6-pubsub](https://github.com/GoogleCloudPlatform/nodejs-getting-started/tree/master/6-pubsub) |
17 | | -[Deploying to Google Compute Engine](https://cloud.google.com/nodejs/getting-started/run-on-compute-engine) | [7-gce](https://github.com/GoogleCloudPlatform/nodejs-getting-started/tree/master/7-gce) |
| 14 | +[Hello world][step-1] | [1-hello-world][step-1-code] |
| 15 | +[Structured data][step-2] | [2-structured-data][step-2-code] |
| 16 | +[Cloud Storage][step-3] | [3-binary-data][step-3-code] |
| 17 | +[Authenticating users][step-4] | [4-auth][step-4-code] |
| 18 | +[Logging app events][step-5] | [5-logging][step-5-code] |
| 19 | +[Using Cloud Pub/Sub][step-6] | [6-pubsub][step-6-code] |
| 20 | +[Deploying to Google Compute Engine][step-7] | [7-gce][step-7-code] |
18 | 21 |
|
19 | 22 | ## Contributing changes |
20 | 23 |
|
21 | 24 | * See [CONTRIBUTING.md](CONTRIBUTING.md) |
22 | 25 |
|
| 26 | +### Run the tests |
| 27 | + |
| 28 | +* Make sure you're authenticated with the gcloud sdk and your gcloud project |
| 29 | +has enabled all the APIs used by these tutorials. |
| 30 | +* `git clone git@github.com:GoogleCloudPlatform/nodejs-getting-started.git` |
| 31 | +* `cd nodejs-getting-started` |
| 32 | +* `npm install` |
| 33 | +* `npm test` |
23 | 34 |
|
24 | 35 | ## Licensing |
25 | 36 |
|
26 | 37 | * See [LICENSE](LICENSE) |
| 38 | + |
| 39 | +[travis-badge]: https://travis-ci.org/GoogleCloudPlatform/nodejs-getting-started.svg |
| 40 | +[travis-link]: https://travis-ci.org/GoogleCloudPlatform/nodejs-getting-started |
| 41 | +[getting-started]: http://cloud.google.com/nodejs/getting-started |
| 42 | +[step-1]: https://cloud.google.com/nodejs/getting-started/hello-world |
| 43 | +[step-1-code]: https://github.com/GoogleCloudPlatform/nodejs-getting-started/tree/master/1-hello-world |
| 44 | +[step-2]: https://cloud.google.com/nodejs/getting-started/using-structured-data |
| 45 | +[step-2-code]: https://github.com/GoogleCloudPlatform/nodejs-getting-started/tree/master/2-structured-data |
| 46 | +[step-3]: https://cloud.google.com/nodejs/getting-started/using-cloud-storage |
| 47 | +[step-3-code]: https://github.com/GoogleCloudPlatform/nodejs-getting-started/tree/master/3-binary-data |
| 48 | +[step-4]: https://cloud.google.com/nodejs/getting-started/authenticate-users |
| 49 | +[step-4-code]: https://github.com/GoogleCloudPlatform/nodejs-getting-started/tree/master/4-auth |
| 50 | +[step-5]: https://cloud.google.com/nodejs/getting-started/logging-application-events |
| 51 | +[step-5-code]: https://github.com/GoogleCloudPlatform/nodejs-getting-started/tree/master/5-logging |
| 52 | +[step-6]: https://cloud.google.com/nodejs/getting-started/using-pub-sub |
| 53 | +[step-6-code]: https://github.com/GoogleCloudPlatform/nodejs-getting-started/tree/master/6-pubsub |
| 54 | +[step-7]: https://cloud.google.com/nodejs/getting-started/run-on-compute-engine |
| 55 | +[step-7-code]: https://github.com/GoogleCloudPlatform/nodejs-getting-started/tree/master/7-gce |
0 commit comments