Skip to content

Commit

Permalink
start the tutorial flow
Browse files Browse the repository at this point in the history
  • Loading branch information
priley86 committed Aug 27, 2018
1 parent cb724e2 commit 70eb500
Show file tree
Hide file tree
Showing 84 changed files with 1,301 additions and 606 deletions.
4 changes: 3 additions & 1 deletion .env.development
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,6 @@ REACT_APP_USER_SERVICE_CREATE=http://localhost:5000/auth/users/create/
REACT_APP_USER_SERVICE_DELETE=http://localhost:5000/auth/users/delete/
REACT_APP_USER_SERVICE_CURRENT=http://localhost:5000/auth/me/
REACT_APP_USER_SERVICE_LOGIN=http://localhost:5000/auth/token/create/
REACT_APP_USER_SERVICE_LOGOUT=http://localhost:5000/auth/token/destroy/
REACT_APP_USER_SERVICE_LOGOUT=http://localhost:5000/auth/token/destroy/

REACT_APP_THREAD_SERVICE=http://localhost:5000/api/v1/thread/
4 changes: 3 additions & 1 deletion .env.production
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,6 @@ REACT_APP_USER_SERVICE_CREATE=http://localhost:5000/auth/users/create/
REACT_APP_USER_SERVICE_DELETE=http://localhost:5000/auth/users/delete/
REACT_APP_USER_SERVICE_CURRENT=http://localhost:5000/auth/me/
REACT_APP_USER_SERVICE_LOGIN=http://localhost:5000/auth/token/create/
REACT_APP_USER_SERVICE_LOGOUT=http://localhost:5000/auth/token/destroy/
REACT_APP_USER_SERVICE_LOGOUT=http://localhost:5000/auth/token/destroy/

REACT_APP_THREAD_SERVICE=http://localhost:5000/api/v1/thread/
5 changes: 4 additions & 1 deletion .env.test
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,7 @@ REACT_APP_USER_SERVICE_CREATE=/auth/users/create/
REACT_APP_USER_SERVICE_DELETE=/auth/users/delete/
REACT_APP_USER_SERVICE_CURRENT=/auth/me/
REACT_APP_USER_SERVICE_LOGIN=/auth/token/create/
REACT_APP_USER_SERVICE_LOGOUT=/auth/token/destroy/
REACT_APP_USER_SERVICE_LOGOUT=/auth/token/destroy/
REACT_APP_UI_COMMIT_HASH=1

REACT_APP_THREAD_SERVICE=http://localhost:5000/api/v1/thread/
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,18 +3,19 @@
"version": "0.3.0",
"private": true,
"dependencies": {
"axios": "^0.18.0",
"classnames": "^2.2.5",
"detect-browser": "^3.0.0",
"i18next": "^11.6.0",
"i18next-xhr-backend": "^1.5.1",
"js-cookie": "^2.2.0",
"lodash.get": "^4.4.2",
"numeral": "^2.0.6",
"patternfly-react": "^2.10.1",
"prop-types": "^15.6.2",
"react": "^16.4.0",
"react-dom": "^16.4.0",
"react-i18next": "^7.10.1",
"react-iframe": "^1.2.0",
"react-redux": "^5.0.6",
"react-router": "^4.3.1",
"react-router-dom": "^4.3.1",
Expand All @@ -24,7 +25,6 @@
"redux-thunk": "^2.3.0"
},
"devDependencies": {
"axios": "^0.18.0",
"babel-eslint": "^8.2.6",
"enzyme": "^3.4.2",
"enzyme-adapter-react-16": "^1.2.0",
Expand Down
10 changes: 0 additions & 10 deletions public/asciidocs/de/steelthread0.adoc

This file was deleted.

37 changes: 0 additions & 37 deletions public/asciidocs/de/steelthread0.html

This file was deleted.

4 changes: 0 additions & 4 deletions public/asciidocs/de/welcome.adoc

This file was deleted.

17 changes: 0 additions & 17 deletions public/asciidocs/de/welcome.json

This file was deleted.

13 changes: 0 additions & 13 deletions public/asciidocs/de/welcome.xml

This file was deleted.

10 changes: 0 additions & 10 deletions public/asciidocs/en/steelthread0.adoc

This file was deleted.

28 changes: 0 additions & 28 deletions public/asciidocs/en/steelthread0.html

This file was deleted.

53 changes: 0 additions & 53 deletions public/asciidocs/en/steelthread0.json

This file was deleted.

35 changes: 0 additions & 35 deletions public/asciidocs/en/steelthread0.xml

This file was deleted.

3 changes: 3 additions & 0 deletions public/asciidocs/en/thread-0-description.adoc
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
== What will I accomplish?

In this tutorial, you will build a simple REST-based integration that enables a new fruit type to be added to an inventory list for a fictional grocery store.
8 changes: 8 additions & 0 deletions public/asciidocs/en/thread-0-description.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
<div class="sect1">
<h2 id="_what_will_i_accomplish">What will I accomplish?</h2>
<div class="sectionbody">
<div class="paragraph">
<p>In this tutorial, you will build a simple REST-based integration that enables a new fruit type to be added to an inventory list for a fictional grocery store.</p>
</div>
</div>
</div>
1 change: 1 addition & 0 deletions public/asciidocs/en/thread-0-module-1-step-1-info.adoc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Complete the procedure above before procedding.
3 changes: 3 additions & 0 deletions public/asciidocs/en/thread-0-module-1-step-1-info.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
<div class="paragraph">
<p>Complete the procedure above before procedding.</p>
</div>
10 changes: 10 additions & 0 deletions public/asciidocs/en/thread-0-module-1-step-1.adoc
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
=== Create your REST endpoint using Red Hat OpenShift Application Runtimes

. Open the link:http://react-demo-app-tutorial-web-app.6923.rh-us-east-1.openshiftapps.com/#/tutorial/0/module/0/1[Application link] (_this will open in the right panel_).
. To open the application launcher console, click *Launch Your Project*.
. From the *Create application* screen, add a name for your REST endpoint application and click *Continue*.
. From the *Target Environment* screen, select *"Code locally, Build and Deploy"*.
. From the Mission list, select *Health Check*.
. From the Runtime list, select *SpringBoot* and click the blue arrow to continue.
. Authorize your GitHub provider and click the blue arrow to continue.
. Review and click *Set Up Application*. You'll see a confirmation screen when setup is complete.
41 changes: 41 additions & 0 deletions public/asciidocs/en/thread-0-module-1-step-1.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
<div class="sect2">
<h3 id="_create_your_rest_endpoint_using_red_hat_openshift_application_runtimes">Create your REST endpoint using Red Hat OpenShift Application Runtimes</h3>
<div class="olist arabic">
<ol class="arabic">
<li>
<p>Open the
<a href="http://react-demo-app-tutorial-web-app.6923.rh-us-east-1.openshiftapps.com/#/tutorial/0/module/0/1">Application link</a> (
<em>this will open in the right panel</em>).</p>
</li>
<li>
<p>To open the application launcher console, click
<strong>Launch Your Project</strong>.</p>
</li>
<li>
<p>From the
<strong>Create application</strong> screen, add a name for your REST endpoint application and click
<strong>Continue</strong>.</p>
</li>
<li>
<p>From the
<strong>Target Environment</strong> screen, select
<strong>"Code locally, Build and Deploy"</strong>.</p>
</li>
<li>
<p>From the Mission list, select
<strong>Health Check</strong>.</p>
</li>
<li>
<p>From the Runtime list, select
<strong>SpringBoot</strong> and click the blue arrow to continue.</p>
</li>
<li>
<p>Authorize your GitHub provider and click the blue arrow to continue.</p>
</li>
<li>
<p>Review and click
<strong>Set Up Application</strong>. You&#8217;ll see a confirmation screen when setup is complete.</p>
</li>
</ol>
</div>
</div>
1 change: 1 addition & 0 deletions public/asciidocs/en/thread-0-module-1-step-2-info.adoc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Complete the procedure above before procedding.
3 changes: 3 additions & 0 deletions public/asciidocs/en/thread-0-module-1-step-2-info.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
<div class="paragraph">
<p>Complete the procedure above before procedding.</p>
</div>
5 changes: 5 additions & 0 deletions public/asciidocs/en/thread-0-module-1-step-2.adoc
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
=== Use Eclipse Che to view and edit your REST endpoint

. Open link:http://react-demo-app-tutorial-web-app.6923.rh-us-east-1.openshiftapps.com/#/tutorial/0/module/0/2[Eclipse Che]. You'll see the REST endpoint you just created.
. Make your changes...
. Click Create PR to commit your changes.
17 changes: 17 additions & 0 deletions public/asciidocs/en/thread-0-module-1-step-2.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
<div class="sect2">
<h3 id="_use_eclipse_che_to_view_and_edit_your_rest_endpoint">Use Eclipse Che to view and edit your REST endpoint</h3>
<div class="olist arabic">
<ol class="arabic">
<li>
<p>Open
<a href="http://react-demo-app-tutorial-web-app.6923.rh-us-east-1.openshiftapps.com/#/tutorial/0/module/0/2">Eclipse Che</a>. You&#8217;ll see the REST endpoint you just created.</p>
</li>
<li>
<p>Make your changes&#8230;&#8203;</p>
</li>
<li>
<p>Click Create PR to commit your changes.</p>
</li>
</ol>
</div>
</div>
1 change: 1 addition & 0 deletions public/asciidocs/en/thread-0-module-2-step-1-info.adoc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Complete the procedure above before procedding.
Loading

0 comments on commit 70eb500

Please sign in to comment.