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
The tool will inspect the source code, locate an appropriate image on DockerHub, create an ImageStream for that image, and then create the right build configuration, deployment configuration and service definition.
93
93
94
94
(The -l flag will apply a label of "name=myapp" to all the resources created by new-app, for easy management later.)
95
95
96
96
#### Create a new app from a template (method 2)
97
97
98
-
We can also [create new apps using OpenShift template files](https://docs.openshift.com/enterprise/3.0/dev_guide/new_app.html#specifying-a-template). Clone the demo app source code from [GitHub repo](https://github.com/openshift/nodejs-ex) (fork if you like).
98
+
We can also [create new apps using OpenShift template files](https://docs.openshift.com/enterprise/3.0/dev_guide/new_app.html#specifying-a-template). Clone the demo app source code from [GitHub repo](https://github.com/sclorg/nodejs-ex) (fork if you like).
description: An example Node.js application with no database. For more information about using this template, including OpenShift considerations, see https://github.com/openshift/nodejs-ex/blob/master/README.md.
3
+
description: An example Node.js application with no database. For more information about using this template, including OpenShift considerations, see https://github.com/sclorg/nodejs-ex/blob/master/README.md.
The following service(s) have been created in your project: {{ .Values.name }}.
2
2
3
-
For more information about using this template, including OpenShift considerations, see https://github.com/openshift/nodejs-ex/blob/master/README.md.
3
+
For more information about using this template, including OpenShift considerations, see https://github.com/sclorg/nodejs-ex/blob/master/README.md.
Copy file name to clipboardExpand all lines: openshift/templates/nodejs-mongodb-persistent.json
+4-4
Original file line number
Diff line number
Diff line change
@@ -5,17 +5,17 @@
5
5
"name": "nodejs-mongo-persistent",
6
6
"annotations": {
7
7
"openshift.io/display-name": "Node.js + MongoDB",
8
-
"description": "An example Node.js application with a MongoDB database. For more information about using this template, including OpenShift considerations, see https://github.com/openshift/nodejs-ex/blob/master/README.md.",
8
+
"description": "An example Node.js application with a MongoDB database. For more information about using this template, including OpenShift considerations, see https://github.com/sclorg/nodejs-ex/blob/master/README.md.",
9
9
"tags": "quickstart,nodejs",
10
10
"iconClass": "icon-nodejs",
11
11
"openshift.io/long-description": "This template defines resources needed to develop a NodeJS application, including a build configuration, application deployment configuration, and database deployment configuration.",
12
12
"openshift.io/provider-display-name": "Red Hat, Inc.",
"message": "The following service(s) have been created in your project: ${NAME}, ${DATABASE_SERVICE_NAME}.\n\nFor more information about using this template, including OpenShift considerations, see https://github.com/openshift/nodejs-ex/blob/master/README.md.",
18
+
"message": "The following service(s) have been created in your project: ${NAME}, ${DATABASE_SERVICE_NAME}.\n\nFor more information about using this template, including OpenShift considerations, see https://github.com/sclorg/nodejs-ex/blob/master/README.md.",
19
19
"labels": {
20
20
"template": "nodejs-mongo-persistent"
21
21
},
@@ -488,7 +488,7 @@
488
488
"displayName": "Git Repository URL",
489
489
"description": "The URL of the repository with your application source code.",
"description": "An example Node.js application with a MongoDB database. For more information about using this template, including OpenShift considerations, see https://github.com/openshift/nodejs-ex/blob/master/README.md.\n\nWARNING: Any data stored will be lost upon pod destruction. Only use this template for testing.",
8
+
"description": "An example Node.js application with a MongoDB database. For more information about using this template, including OpenShift considerations, see https://github.com/sclorg/nodejs-ex/blob/master/README.md.\n\nWARNING: Any data stored will be lost upon pod destruction. Only use this template for testing.",
9
9
"tags": "quickstart,nodejs",
10
10
"iconClass": "icon-nodejs",
11
11
"openshift.io/long-description": "This template defines resources needed to develop a NodeJS application, including a build configuration, application deployment configuration, and database deployment configuration. The database is stored in non-persistent storage, so this configuration should be used for experimental purposes only.",
12
12
"openshift.io/provider-display-name": "Red Hat, Inc.",
"message": "The following service(s) have been created in your project: ${NAME}, ${DATABASE_SERVICE_NAME}.\n\nFor more information about using this template, including OpenShift considerations, see https://github.com/openshift/nodejs-ex/blob/master/README.md.",
18
+
"message": "The following service(s) have been created in your project: ${NAME}, ${DATABASE_SERVICE_NAME}.\n\nFor more information about using this template, including OpenShift considerations, see https://github.com/sclorg/nodejs-ex/blob/master/README.md.",
19
19
"labels": {
20
20
"template": "nodejs-mongodb-example",
21
21
"app": "nodejs-mongodb-example"
@@ -465,7 +465,7 @@
465
465
"displayName": "Git Repository URL",
466
466
"description": "The URL of the repository with your application source code.",
Copy file name to clipboardExpand all lines: openshift/templates/nodejs.json
+4-4
Original file line number
Diff line number
Diff line change
@@ -5,17 +5,17 @@
5
5
"name": "nodejs-example",
6
6
"annotations": {
7
7
"openshift.io/display-name": "Node.js",
8
-
"description": "An example Node.js application with no database. For more information about using this template, including OpenShift considerations, see https://github.com/openshift/nodejs-ex/blob/master/README.md.",
8
+
"description": "An example Node.js application with no database. For more information about using this template, including OpenShift considerations, see https://github.com/sclorg/nodejs-ex/blob/master/README.md.",
9
9
"tags": "quickstart,nodejs",
10
10
"iconClass": "icon-nodejs",
11
11
"openshift.io/long-description": "This template defines resources needed to develop a NodeJS application, including a build configuration and application deployment configuration. It does not include a database.",
12
12
"openshift.io/provider-display-name": "Red Hat, Inc.",
"message": "The following service(s) have been created in your project: ${NAME}.\n\nFor more information about using this template, including OpenShift considerations, see https://github.com/openshift/nodejs-ex/blob/master/README.md.",
18
+
"message": "The following service(s) have been created in your project: ${NAME}.\n\nFor more information about using this template, including OpenShift considerations, see https://github.com/sclorg/nodejs-ex/blob/master/README.md.",
19
19
"labels": {
20
20
"template": "nodejs-example",
21
21
"app": "nodejs-example"
@@ -250,7 +250,7 @@
250
250
"displayName": "Git Repository URL",
251
251
"description": "The URL of the repository with your application source code.",
Copy file name to clipboardExpand all lines: views/index.html
+1-1
Original file line number
Diff line number
Diff line change
@@ -228,7 +228,7 @@ <h2>How to use this example application</h2>
228
228
229
229
<h2>Deploying code changes</h2>
230
230
<p>
231
-
The source code for this application is available to be forked from the <ahref="https://www.github.com/openshift/nodejs-ex">OpenShift GitHub repository</a>.
231
+
The source code for this application is available to be forked from the <ahref="https://www.github.com/sclorg/nodejs-ex">OpenShift GitHub repository</a>.
232
232
You can configure a webhook in your repository to make OpenShift automatically start a build whenever you push your code:
0 commit comments