You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Sep 16, 2021. It is now read-only.
Copy file name to clipboardExpand all lines: README1.md
+1-38Lines changed: 1 addition & 38 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,7 +4,7 @@ In this Code Pattern, we will deploy a React application using Kubernetes.
4
4
5
5
There are many choices when looking for the right solution to manage and deploy our applications. It can often be overwhelming when we're trying to pick the right solution. One of our many choices is Kubernetes. This pattern will take you through how to get a front end application deployed on Kubernetes. After implementing the code, you will have the knowledge to deploy your own applications on Kubernetes.
6
6
7
-
This repository uses the React JavaScript library to build out the front end of the application. Redux is a predictable state container used hand in hand with React. The OMDb API is called to get movie information based on user input. It handles all of the state management within the application. Docker is an open source tool that is used to package the application into a container. IBM Cloud provides one to use with Kubernetes deployments called IBM Cloud Container Service. Kubernetes handles the management and deployment of the containerized application.
7
+
This repository uses the React JavaScript library to build out the front end of the application. Redux is a predictable state container used hand in hand with React. It handles all of the state management within the application. The OMDb API is called to get movie information based on user input. Docker is an open source tool that is used to package the application into a container. IBM Cloud provides one to use with Kubernetes deployments called IBM Cloud Container Service. Kubernetes handles the management and deployment of the containerized application.
8
8
9
9
When the reader has completed this Code Pattern, they will understand how to:
10
10
* Containerize a React application using Docker
@@ -30,7 +30,6 @@ When the reader has completed this Code Pattern, they will understand how to:
30
30
# Watch the video
31
31
32
32
# Steps
33
-
Use the ``Deploy to IBM Cloud`` button **OR** run locally.
34
33
35
34
## Prerequisites
36
35
1. You must get an API key from [OMDb API](http://www.omdbapi.com/) in order to get a response from the API. You will insert your API key in /src/actions/index.js on line 42
@@ -40,19 +39,7 @@ Use the ``Deploy to IBM Cloud`` button **OR** run locally.
40
39
$ export docker_username="YOUR_DOCKER_USERNAME"
41
40
```
42
41
43
-
## Deploy to IBM Cloud
44
-
[](https://bluemix.net/deploy?repository=https://github.com/IBM/watson-banking-chatbot.git)
45
-
46
-
1. Press the above ``Deploy to IBM Cloud`` button and then click on ``Deploy``.
47
-
48
-
<!--optional step-->
49
-
2. In Toolchains, click on Delivery Pipeline to watch while the app is deployed. Once deployed, the app can be viewed by clicking 'View app'.
50
-

51
-
52
-
53
42
## Run locally
54
-
> NOTE: These steps are only needed when running locally instead of using the ``Deploy to IBM Cloud`` button.
@@ -129,29 +115,6 @@ You can now access the application at http://localhost:3000
129
115
130
116
<imgwidth="1415"alt="screen shot 2017-03-13 at 6 14 10 pm"src="https://cloud.githubusercontent.com/assets/18426780/23879083/fa0df756-0818-11e7-8569-469367b84280.png">
131
117
132
-
133
-
# Privacy Notice
134
-
If using the `Deploy to IBM Cloud` button some metrics are tracked, the following
135
-
information is sent to a [Deployment Tracker](https://github.com/IBM/cf-deployment-tracker-service) service
136
-
on each deployment:
137
-
138
-
* Node.js package version
139
-
* Node.js repository URL
140
-
* Application Name (`application_name`)
141
-
* Application GUID (`application_id`)
142
-
* Application instance index number (`instance_index`)
143
-
* Space ID (`space_id`)
144
-
* Application Version (`application_version`)
145
-
* Application URIs (`application_uris`)
146
-
* Labels of bound services
147
-
* Number of instances for each bound service and associated plan information
148
-
149
-
This data is collected from the `package.json` file in the sample application and the `VCAP_APPLICATION` and `VCAP_SERVICES` environment variables in IBM Cloud and other Cloud Foundry platforms. This data is used by IBM to track metrics around deployments of sample applications to IBM Cloud to measure the usefulness of our examples, so that we can continuously improve the content we offer to you. Only deployments of sample applications that include code to ping the Deployment Tracker service will be tracked.
150
-
151
-
## Disabling Deployment Tracking
152
-
153
-
To disable tracking, simply remove ``require("cf-deployment-tracker-client").track();`` from the ``app.js`` file in the top level directory.
154
-
155
118
# Links
156
119
*[Demo on Youtube](https://www.youtube.com/watch?v=Jxi7U7VOMYg)
0 commit comments