@@ -80,6 +80,11 @@ $ npm run start
80
80
1 . [ Build the image] ( #1-build-the-image )
81
81
2 . [ Run the image] ( #2-run-the-image )
82
82
83
+ ## Prerequisites:
84
+ 1 . [ Create Docker account] ( https://cloud.docker.com/ )
85
+
86
+ 2 . [ Install Docker CLI] ( https://docs.docker.com/install/ )
87
+
83
88
### 1. Build the image
84
89
85
90
In a terminal, run:
@@ -109,10 +114,41 @@ You can now access the application at http://localhost:3000
109
114
2 . [ Deploy the application] ( #2-deploy-the-application )
110
115
111
116
## Prerequisites
112
- * Create a namespace
117
+ 1 . [ Create an account with IBM Cloud] ( https://console.bluemix.net/registration/ )
118
+
119
+ 2 . [ Install IBM Cloud CLI] ( https://console.bluemix.net/docs/cli/reference/bluemix_cli/get_started.html#getting-started )
120
+
121
+ 3 . Log in to your IBM Cloud account
122
+
123
+ 4 . Install the Container Registry plug-in.
124
+ ```
125
+ bx plugin install container-registry -r Bluemix
113
126
```
114
- $ bx cr namespace-add <your_namespace>
127
+
128
+ 5 . Install the Container Service plug-in.
129
+ ```
130
+ bx plugin install IBM-Containers -r Bluemix
131
+ ```
132
+
133
+ 6 . [ Install kubectl] ( https://kubernetes.io/docs/tasks/tools/install-kubectl/#install-kubectl )
134
+
135
+ 7 . Create cluster
115
136
```
137
+ bx cs cluster-create --name YOUR_CLUSTER_NAME
138
+ ```
139
+
140
+ 8 . Configure Kubernetes cluster
141
+ ```
142
+ $ bx cs cluster-config YOUR_CLUSTER_NAME
143
+ ```
144
+
145
+ Copy and paste response in CLI
146
+
147
+ 9 . Create a namespace
148
+ ```
149
+ $ bx cr namespace-add YOUR_NAMESPACE
150
+ ```
151
+
116
152
117
153
### 1. Build image
118
154
0 commit comments