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
+9-4Lines changed: 9 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -123,13 +123,15 @@ A live application URL will be available in the output.
123
123
> #### Additional Configuration
124
124
>
125
125
> **Enabling web sockets**
126
+
>
126
127
> If you're using socket.io, you will need to update the client to connect to the correct port for sockets to work.
127
128
>
128
129
> 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):
129
130
>
130
131
> var ioSocket = io.connect('my-openshift-app.com:8000');
131
132
>
132
-
**oAuth**
133
+
> **oAuth**
134
+
>
133
135
> If you're using any oAuth strategies, you must set environment variables for your selected oAuth. For example, if we're using Facebook oAuth we would do this :
134
136
>
135
137
> rhc set-env FACEBOOK_ID=id -a my-openshift-app
@@ -166,10 +168,13 @@ Your app should now be live. To view it run `heroku open`
166
168
>
167
169
>
168
170
> **Enabling web sockets**
171
+
>
169
172
> If you're using socket.io you will need to enable websockets on your app:
170
173
>
171
-
heroku labs:enable websockets
172
-
**oAuth**
174
+
> heroku labs:enable websockets
175
+
>
176
+
> **oAuth**
177
+
>
173
178
> If you're using any oAuth strategies, you must set environment variables for your selected oAuth. For example, if we're using Facebook oAuth we would do this :
174
179
>
175
180
> heroku config:set FACEBOOK_ID=id
@@ -413,4 +418,4 @@ See the `travis.yml` for configuration required to run tests.
0 commit comments