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
+14-14Lines changed: 14 additions & 14 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -122,22 +122,22 @@ A live application URL will be available in the output.
122
122
123
123
> #### Additional Configuration
124
124
>
125
-
**Enabling web sockets**
126
-
If you're using socket.io, you will need to update the client to connect to the correct port for sockets to work.
125
+
> **Enabling web sockets**
126
+
> If you're using socket.io, you will need to update the client to connect to the correct port for sockets to work.
127
127
>
128
-
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):
128
+
> 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
129
>
130
-
var ioSocket = io.connect('my-openshift-app.com:8000');
130
+
> var ioSocket = io.connect('my-openshift-app.com:8000');
131
131
>
132
132
**oAuth**
133
-
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 :
133
+
> 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
134
>
135
-
rhc set-env FACEBOOK_ID=id -a my-openshift-app
136
-
rhc set-env FACEBOOK_SECRET=secret -a my-openshift-app
135
+
> rhc set-env FACEBOOK_ID=id -a my-openshift-app
136
+
> rhc set-env FACEBOOK_SECRET=secret -a my-openshift-app
137
137
>
138
-
After you've set the required environment variables, restart the server:
138
+
> After you've set the required environment variables, restart the server:
139
139
>
140
-
rhc app-restart -a my-openshift-app
140
+
> rhc app-restart -a my-openshift-app
141
141
142
142
**Pushing Updates**
143
143
@@ -165,15 +165,15 @@ Your app should now be live. To view it run `heroku open`
165
165
> #### Additional Configuration
166
166
>
167
167
>
168
-
**Enabling web sockets**
169
-
If you're using socket.io you will need to enable websockets on your app:
168
+
> **Enabling web sockets**
169
+
> If you're using socket.io you will need to enable websockets on your app:
170
170
>
171
171
heroku labs:enable websockets
172
172
**oAuth**
173
-
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 :
173
+
> 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 :
0 commit comments