Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
This repository was archived by the owner on Sep 16, 2021. It is now read-only.

Commit 890da5d

Browse filesBrowse files
author
Rizchel Dayao
authored
Merge branch 'master' into patch-1
2 parents 651bf9b + 774c6b3 commit 890da5d
Copy full SHA for 890da5d

File tree

2 files changed

+15
-10
lines changed
Filter options

2 files changed

+15
-10
lines changed

‎README.md

Copy file name to clipboardExpand all lines: README.md
+12-10Lines changed: 12 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -124,46 +124,46 @@ You can now access the application at http://localhost:3000
124124

125125
3. Log into your IBM Cloud account
126126
```
127-
bx login
127+
ibmcloud login
128128
```
129129

130-
If you have a federated ID, use bx login --sso to log in to the IBM Cloud CLI.
130+
If you have a federated ID, use ibmcloud login --sso to log in to the IBM Cloud CLI.
131131

132132
4. Install the Container Registry plug-in.
133133
```
134-
bx plugin install container-registry -r Bluemix
134+
ibmcloud plugin install container-registry -r Bluemix
135135
```
136136

137137
5. Install the Container Service plug-in.
138138
```
139-
bx plugin install IBM-Containers -r Bluemix
139+
ibmcloud plugin install IBM-Containers -r Bluemix
140140
```
141141

142142
6. [Install kubectl](https://kubernetes.io/docs/tasks/tools/install-kubectl/#install-kubectl)
143143

144144
7. Create cluster
145145
```
146-
bx cs cluster-create --name YOUR_CLUSTER_NAME
146+
ibmcloud cs cluster-create --name YOUR_CLUSTER_NAME
147147
```
148148

149149
8. Configure Kubernetes cluster
150150
```
151-
$ bx cs cluster-config YOUR_CLUSTER_NAME
151+
$ ibmcloud cs cluster-config YOUR_CLUSTER_NAME
152152
```
153153

154154
Copy and paste response in CLI
155155

156156
9. Choose a name for your first namespace, and create that namespace. Use this namespace for the rest of the Quick Start.
157157
```
158-
$ bx cr namespace-add YOUR_NAMESPACE
158+
$ ibmcloud cr namespace-add YOUR_NAMESPACE
159159
```
160160

161161

162162
### 1. Build image
163163

164164
Build image in the IBM Container Registry:
165165
```
166-
$ bx cr build -t registry.<ibm_cloud_region>.bluemix.net/<your_namespace>/deploy-react-kubernetes .
166+
$ ibmcloud cr build -t registry.<ibm_cloud_region>.bluemix.net/<your_namespace>/deploy-react-kubernetes .
167167
```
168168

169169
### 2. Deploy the application
@@ -187,7 +187,7 @@ $ kubectl expose deployment/deploy-react-kubernetes-deployment —-port=3000 —
187187

188188
```
189189
# For clusters provisioned with IBM Cloud
190-
$ bx cs workers YOUR_CLUSTER_NAME
190+
$ ibmcloud cs workers YOUR_CLUSTER_NAME
191191
```
192192

193193
```
@@ -223,4 +223,6 @@ kubectl create -f deployment.yaml
223223
* **Kubernetes on IBM Cloud**: Deliver your apps with the combined power of [Kubernetes and Docker on IBM Cloud](https://www.ibm.com/cloud/container-service)
224224

225225
# License
226-
[Apache 2.0](LICENSE)
226+
This code pattern is licensed under the Apache Software License, Version 2. Separate third party code objects invoked within this code pattern are licensed by their respective providers pursuant to their own separate licenses. Contributions are subject to the [Developer Certificate of Origin, Version 1.1 (DCO)](https://developercertificate.org/) and the [Apache Software License, Version 2](http://www.apache.org/licenses/LICENSE-2.0.txt).
227+
228+
[Apache Software License (ASL) FAQ](http://www.apache.org/foundation/license-faq.html#WhatDoesItMEAN)

‎package.json

Copy file name to clipboardExpand all lines: package.json
+3Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,9 @@
3838
"react-router": "^3.0.2",
3939
"redux": "^3.5.2"
4040
},
41+
"jest": {
42+
"testURL": "http://localhost/"
43+
},
4144
"scripts": {
4245
"build-css": "node-sass src/ -o src/",
4346
"watch-css": "npm run build-css && node-sass src/ -o src/ --watch --recursive",

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.