Skip to content

Commit 7118238

Browse files
committed
Update readme.md
1 parent e691aee commit 7118238

File tree

1 file changed

+9
-4
lines changed

1 file changed

+9
-4
lines changed

readme.md

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -123,13 +123,15 @@ A live application URL will be available in the output.
123123
> #### Additional Configuration
124124
>
125125
> **Enabling web sockets**
126+
>
126127
> If you're using socket.io, you will need to update the client to connect to the correct port for sockets to work.
127128
>
128129
> 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):
129130
>
130131
> var ioSocket = io.connect('my-openshift-app.com:8000');
131132
>
132-
**oAuth**
133+
> **oAuth**
134+
>
133135
> 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 :
134136
>
135137
> 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`
166168
>
167169
>
168170
> **Enabling web sockets**
171+
>
169172
> If you're using socket.io you will need to enable websockets on your app:
170173
>
171-
heroku labs:enable websockets
172-
**oAuth**
174+
> heroku labs:enable websockets
175+
>
176+
> **oAuth**
177+
>
173178
> 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 :
174179
>
175180
> heroku config:set FACEBOOK_ID=id
@@ -413,4 +418,4 @@ See the `travis.yml` for configuration required to run tests.
413418

414419
## License
415420

416-
[BSD license](http://opensource.org/licenses/bsd-license.php)
421+
[BSD license](http://opensource.org/licenses/bsd-license.php)

0 commit comments

Comments
 (0)