Update hellonode.md
This commit is contained in:
@@ -30,6 +30,16 @@ New users of Google Cloud Platform recieve a [$300 free trial](https://console.d
|
|||||||
|
|
||||||
Next, make sure you [download Node.js](https://nodejs.org/en/download/).
|
Next, make sure you [download Node.js](https://nodejs.org/en/download/).
|
||||||
|
|
||||||
|
Then install [Docker](https://docs.docker.com/engine/installation/), and [Google Cloud SDK](https://cloud.google.com/sdk/).
|
||||||
|
|
||||||
|
Finally, after Google Cloud SDK installs, run the following command to install [`kubectl`](http://kubernetes.io/docs/user-guide/kubectl-overview/):
|
||||||
|
|
||||||
|
```shell
|
||||||
|
gcloud components install kubectl
|
||||||
|
```
|
||||||
|
|
||||||
|
You're all set up with an environment that can build container images, run Node apps, run Kubernetes clusters locally, and deploy Kubernetes clusters to Google Container Engine. Let's begin!
|
||||||
|
|
||||||
## Create your Node.js application
|
## Create your Node.js application
|
||||||
|
|
||||||
The first step is to write the application. Save this code in a folder called "`hellonode/`" with the filename `server.js`:
|
The first step is to write the application. Save this code in a folder called "`hellonode/`" with the filename `server.js`:
|
||||||
|
|||||||
Reference in New Issue
Block a user