Browse code

switch new project example repo to one that doesn't need a db

Ben Parees authored on 2016/04/22 03:53:06
Showing 4 changed files
... ...
@@ -1269,7 +1269,7 @@ Create a new application
1269 1269
   $ oc new-app . --docker-image=repo/langimage
1270 1270
 
1271 1271
   # Create a Ruby application based on the provided [image]~[source code] combination
1272
-  $ oc new-app centos/ruby-22-centos7~https://github.com/openshift/ruby-hello-world.git
1272
+  $ oc new-app centos/ruby-22-centos7~https://github.com/openshift/ruby-ex.git
1273 1273
 
1274 1274
   # Use the public Docker Hub MySQL image to create an app. Generated artifacts will be labeled with db=mysql
1275 1275
   $ oc new-app mysql MYSQL_USER=user MYSQL_PASSWORD=pass MYSQL_DATABASE=testdb -l db=mysql
... ...
@@ -40,8 +40,8 @@ const cliExplain = `
40 40
 To create a new application, login to your server and then run new-app:
41 41
 
42 42
   $ %[1]s login https://mycluster.mycompany.com
43
-  $ %[1]s new-app centos/ruby-22-centos7~https://github.com/openshift/ruby-hello-world.git
44
-  $ %[1]s logs -f bc/ruby-hello-world
43
+  $ %[1]s new-app centos/ruby-22-centos7~https://github.com/openshift/ruby-ex.git
44
+  $ %[1]s logs -f bc/ruby-ex
45 45
 
46 46
 This will create an application based on the Docker image 'centos/ruby-22-centos7' that builds
47 47
 the source code from GitHub. A build will start automatically, push the resulting image to the
... ...
@@ -51,14 +51,14 @@ Once your application is deployed, use the status, describe, and get commands to
51 51
 the created components:
52 52
 
53 53
   $ %[1]s status
54
-  $ %[1]s describe deploymentconfig ruby-hello-world
54
+  $ %[1]s describe deploymentconfig ruby-ex
55 55
   $ %[1]s get pods
56 56
 
57 57
 To make this application visible outside of the cluster, use the expose command on the service
58 58
 we just created to create a 'route' (which will connect your application over the HTTP port
59 59
 to a public domain name).
60 60
 
61
-  $ %[1]s expose svc/ruby-hello-world
61
+  $ %[1]s expose svc/ruby-ex
62 62
   $ %[1]s status
63 63
 
64 64
 You should now see the URL the application can be reached at.
... ...
@@ -74,7 +74,7 @@ You can use '%[1]s status' to check the progress.`
74 74
   $ %[1]s new-app . --docker-image=repo/langimage
75 75
 
76 76
   # Create a Ruby application based on the provided [image]~[source code] combination
77
-  $ %[1]s new-app centos/ruby-22-centos7~https://github.com/openshift/ruby-hello-world.git
77
+  $ %[1]s new-app centos/ruby-22-centos7~https://github.com/openshift/ruby-ex.git
78 78
 
79 79
   # Use the public Docker Hub MySQL image to create an app. Generated artifacts will be labeled with db=mysql
80 80
   $ %[1]s new-app mysql MYSQL_USER=user MYSQL_PASSWORD=pass MYSQL_DATABASE=testdb -l db=mysql
... ...
@@ -126,9 +126,9 @@ func (o *NewProjectOptions) Run() error {
126 126
 	fmt.Fprintf(o.Out, `
127 127
 You can add applications to this project with the 'new-app' command. For example, try:
128 128
 
129
-    $ %[1]s new-app centos/ruby-22-centos7~https://github.com/openshift/ruby-hello-world.git
129
+    $ %[1]s new-app centos/ruby-22-centos7~https://github.com/openshift/ruby-ex.git
130 130
 
131
-to build a new hello-world application in Ruby.
131
+to build a new example application in Ruby.
132 132
 `, o.Name)
133 133
 
134 134
 	return nil