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
refactor(heroku): change instructions for creating mongoDB after deploying to heroku
Change instructions to use method "heroku addons:create" instead of deprecated "heroku addons:add" for adding MongoDB after deploying to heroku. Suggest useing free mongoLab DB instead of charged mongoHQ (now called Compose MongoDB).
BREAKING CHANGE: Change console output after deploying process is finished:
Before:
'heroku addons:add mongohq'
After:
'heroku addons:create mongolab'
Closesangular-fullstack#1222
Copy file name to clipboardExpand all lines: heroku/index.js
+1-1
Original file line number
Diff line number
Diff line change
@@ -158,7 +158,7 @@ Generator.prototype.gitForcePush = function gitForcePush() {
158
158
varhasWarning=false;
159
159
160
160
if(this.filters.mongoose){
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'));
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:create mongolab')+'\n'));
0 commit comments