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
Copy file name to clipboardExpand all lines: readme.md
+4-9Lines changed: 4 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -114,21 +114,19 @@ yo angular-fullstack
114
114
```
115
115
###Openshift
116
116
117
-
Depending on your configuration, deploying to OpenShift can be done in just a few steps:
117
+
Deploying to OpenShift can be done in just a few steps:
118
118
119
119
yo angular-fullstack:openshift
120
120
121
121
A live application URL will be available in the output.
122
122
123
-
> #### Additional Configuration
124
-
>
125
123
> **Enabling web sockets**
126
124
>
127
125
> If you're using socket.io, you will need to update the client to connect to the correct port for sockets to work.
128
126
>
129
127
> In `/client/app/components/socket/socket.service` update the socket to connect to port 8000. (with `my-openshift-app` being the deployed name of your app):
130
128
>
131
-
> var ioSocket = io.connect('my-openshift-app.com:8000');
129
+
> var ioSocket = io.connect('my-openshift-app.com:8000');
132
130
>
133
131
> **oAuth**
134
132
>
@@ -164,14 +162,11 @@ If you're using mongoDB you will need to add a database to your app:
164
162
165
163
Your app should now be live. To view it run `heroku open`
166
164
167
-
> #### Additional Configuration
168
-
>
169
-
>
170
165
> **Enabling web sockets**
171
166
>
172
167
> If you're using socket.io you will need to enable websockets on your app:
173
168
>
174
-
> heroku labs:enable websockets
169
+
> heroku labs:enable websockets
175
170
>
176
171
> **oAuth**
177
172
>
@@ -180,7 +175,7 @@ Your app should now be live. To view it run `heroku open`
0 commit comments