Skip to content

Commit 348cb63

Browse files
committed
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' Closes #1222
1 parent fd6bfe9 commit 348cb63

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

heroku/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ Generator.prototype.gitForcePush = function gitForcePush() {
158158
var hasWarning = false;
159159

160160
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'));
162162
hasWarning = true;
163163
}
164164

0 commit comments

Comments
 (0)