backspace / slack-statsbot

A Slack bot to track statistics about who is talking the most
80 stars 12 forks source link

Restore Deploy to Heroku functionality #8

Closed backspace closed 8 years ago

backspace commented 9 years ago

Since I added migrations, there’s no reliable way to deploy to Heroku. I added a postdeploy script to run the migrations:

sequelize --env production db:migrate

It produces the error mentioned here, though downgrading to io.js 1.0.2 produces a similar one:

Error: Cannot find module '/app/node_modules/sequelize-cli/node_modules/gulp/node_modules/v8flags/cache/3.31.74.1.flags.json'

Since it’s unlikely that people are rushing out to deploy this to Heroku, I feel okay leaving it broken for a while.

tr1age commented 9 years ago

This seems to be fixed. Am I wrong? I look in the config for the app and it is set to 1 on the web.

backspace commented 9 years ago

hmm, could be, I haven’t tried it in months. I’ll come back to this next week and close it if it’s fixed, thanks for the notice.

tr1age commented 9 years ago

[image: Inline image 1]

Is this correct? Cause this is how it set it up from deploy.

Although I still can't seem to get the bot to run in Slack.

On Fri, Jul 24, 2015 at 11:06 PM, Buck Doyle notifications@github.com wrote:

hmm, could be, I haven’t tried it in months. I’ll come back to this next week and close it if it’s fixed, thanks for the notice.

— Reply to this email directly or view it on GitHub https://github.com/backspace/slack-statsbot/issues/8#issuecomment-124792283 .

backspace commented 9 years ago

What if you change the dynos to be one worker one instead of a web one?

backspace commented 8 years ago

https://stackoverflow.com/questions/30846776/use-n-web-dynos-and-m-worker-dynos-on-heroku-review-app/32697027#32697027