Skip to content

sdepold/bugs-bunny

Repository files navigation

bugs-bunny

A round-robin approach for daily bug cleanup.

Setting it up on heroku

First of all you need to install the heroku toolbelt which you can get here. Run the installer and do this afterwards:

heroku create --stack cedar
git push heroku master
heroku ps:scale web=1
heroku config:add NODE_ENV=production

After those basic steps, we have to setup the configuration of the project. For that, you just have to run node and to execute JSON.stringify(contentOfYourConfig.json). Using the example configuration, it looks like this:

JSON.stringify({
  "bugsBunnies": {
    "me@foo.com": "Michael",
    "bar@lol.com": "Andreas"
  },
  "notifications": {
    "no-bugs-bunny@aol.com": "I'm not a bugs bunny."
  },
  "gmail": {
    "user": "me@gmail.com",
    "pass": "**password**"
  }
})

Now take the result and use config:add again:

heroku config:add CONFIG=<resultOfJSONStringify>
# e.g. heroku config:add CONFIG='{"bugsBunnies":{"me@foo.com":"Michael","bar@lol.com":"Andreas"},"notifications":{"no-bugs-bunny@aol.com":"I\'m not a bugs bunny."},"gmail":{"user":"me@gmail.com","pass":"**password**"}}'

Now that everything is up and running, you might want to rename the application in order to get a nicer URL for it. Just do this:

heroku rename nameOfNewApp

Authors/Contributors

License

Hereby placed under MIT license.

About

A round-robin approach for daily bug cleanup.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published