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: heroku/index.js
+2-7
Original file line number
Diff line number
Diff line change
@@ -161,10 +161,6 @@ Generator.prototype.gitForcePush = function gitForcePush() {
161
161
this.log(chalk.yellow('\nBecause you\'re using mongoose, you must add mongoDB to your heroku app.\n\t'+'from `/dist`: '+chalk.bold('heroku addons:add mongohq')+'\n'));
162
162
hasWarning=true;
163
163
}
164
-
if(this.filters.socketio){
165
-
this.log(chalk.yellow('Because you\'re using socketIO, you must enable websockets on your heroku app.\n\t'+'from `/dist`: '+chalk.bold('heroku labs:enable websockets')+'\n'));
166
-
hasWarning=true;
167
-
}
168
164
169
165
if(this.filters.facebookAuth){
170
166
this.log(chalk.yellow('You will need to set environment variables for facebook auth. From `/dist`:\n\t'+
@@ -190,9 +186,8 @@ Generator.prototype.gitForcePush = function gitForcePush() {
190
186
this.log(chalk.green('\nYou may need to address the issues mentioned above and restart the server for the app to work correctly.'));
191
187
}
192
188
193
-
this.log(chalk.cyan('\nTo deploy a new build\n\t'+chalk.bold('grunt build')+
194
-
'\nThen enter the dist folder to commit these updates:\n\t'+chalk.bold('cd dist && git add -A && git commit -m "describe your changes here"')));
195
-
this.log(chalk.cyan('Finally, deploy your updated build to Heroku with\n\t'+chalk.bold('git push -f heroku master')));
Copy file name to clipboardExpand all lines: readme.md
+2-12
Original file line number
Diff line number
Diff line change
@@ -221,14 +221,6 @@ Deploying to OpenShift can be done in just a few steps:
221
221
222
222
A live application URL will be available in the output.
223
223
224
-
> **Enabling web sockets**
225
-
>
226
-
> If you're using socket.io, you will need to update the client to connect to the correct port for sockets to work.
227
-
>
228
-
> In `/client/components/socket/socket.service` update the socket to connect to port 8000. (with `my-openshift-app` being the deployed name of your app):
229
-
>
230
-
> var ioSocket = io.connect('my-openshift-app.com:8000');
231
-
>
232
224
> **oAuth**
233
225
>
234
226
> 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 :
@@ -256,8 +248,7 @@ To make your deployment process easier consider using [grunt-build-control](http
256
248
257
249
Commit and push the resulting build, located in your dist folder:
258
250
259
-
cd dist && git add -A && git commit -m "describe your changes here"
260
-
git push -f my-openshift-app master
251
+
grunt buildcontrol:openshift
261
252
262
253
### Heroku
263
254
@@ -297,8 +288,7 @@ To make your deployment process easier consider using [grunt-build-control](http
297
288
298
289
Commit and push the resulting build, located in your dist folder:
299
290
300
-
cd dist && git add -A && git commit -m "describe your changes here"
0 commit comments