question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. ItĀ collects links to all the places you might be looking at while hunting down a tough bug.

And, if youā€™re still stuck at the end, weā€™re happy to hop on a call to see how we can help out.

How to host Discord.RSS in Heroku!

See original GitHub issue

How to deploy to Heroku the new way!

Pre-requirements

  1. A Heroku account.
  2. Have all the credentials you need ready!

Instruction

  1. Go to the repo and use the purple looking button to deploy directly to Heroku!
  2. Fill in all the details, if you want to host the web dashboard, make sure to also do the following:
  • DRSS_WEB_CLIENT_ID
  • Get the CLIENT_ID by going here. It should look like: 343394333935336303.
  • RSS_WEB_CLIENT_SECRET
  • On the same page, copy the client secret.
  • DRSS_WEB_ENABLED
  • Set this to true. To enable the web part.
  • DRSS_WEB_REDIRECT_URI
  • Given the name you want to give to your app, make sure to replace APPNAME with yours! https://APPNAME.herokuapp.com/authorize. If you decide to use a domain, change the APPNAME.herokuapp.com to your domain name. *Given my appname: d-discordrss. With my domain: drss.meetdelta.com. I configured it as followed: Example redirect uri's
  • Do note that i added way to many, if you get into any problem, suggest to use both appname and domain name, in both http and https format.
  1. Now hit deploy and go to Resources. Turn off Worker and turn on Web. If you now click on Open app, you should see your own dashboard!
  2. Now, to keep Discord.rss up, itā€™s recomanded to use uptimerobot. Itā€™s easy to use and even mails you when your bot goes down! When this happens just give it a few moments or reboot it by turning the switch off and on again!
  3. Given that you deployed with the button, you can choose to fork the repo, and to connect from Heroku to your app. How to connect Github fork to Heroku app
  4. Now, make sure to keep your fork up to date, you can use this project to do this automatically for you! You can set these env variables in the settings tab your Heroku app. You can add the script to the root of your forked repo. The changes should emmediatly trigger a push and build to your app.
  5. When thatā€™s set, go into your Heroku app to overview, and add the Heroku Scheduler. Configure it with the following: bash ./update.sh you can set the time to whatever you want.

Thatā€™s it, not only havenā€™t you installed any software, but your app will auto-update with the new dashboard working natively with Heroku!

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:14 (11 by maintainers)

github_iconTop GitHub Comments

2reactions
Macleykuncommented, Mar 28, 2018

@synzen šŸ‘

1reaction
Macleykuncommented, Jul 24, 2020

Ah it seems that the repository went totally different If @synzen is ok with it, we could change the hard coded value in the button to: [![Deploy](https://www.herokucdn.com/deploy/button.svg)](https://heroku.com/deploy) Souce https://devcenter.heroku.com/articles/heroku-button Could anyone test if the above works for everyone?

Read more comments on GitHub >

github_iconTop Results From Across the Web

benji7425/discord-rss-feed - Buttons - Heroku Elements
A Discord bot to post the latest articles from an RSS feed into a channel, optionally mentioning a role when posting. Features. Multiple...
Read more >
How to host Discord.RSS in Heroku! Ā· Issue #45 - GitHub
Go to the repo and use the purple looking button to deploy directly to Heroku! Fill in all the details, if you want...
Read more >
Hosting a discord.js bot on Heroku - Stack Overflow
You don't need to open the app on Heroku. If the web dyno is disabled, and the worker one is enabled, then everything...
Read more >
synzen/discord.rss - Docker Image
Discord RSS bot with customizable feeds. ... Use the publicly hosted one! ... You can deploy the bot in a simple way to...
Read more >
how to create a proc file for a discord bot in heroku?
As stated in Hosting a Discord.js bot for free using Heroku, if your app is based on Node.js, it looks like you need...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found