Skip to content
deployable in a Heroku container
Java
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
src/main/java/ws/nmathe/rider
.env
.gitignore
LICENSE.md
Procfile
README.md
pom.xml

README.md

Rider-Bot-Heroku

Conversion of Rider-Bot to be deployable on a heroku instance

Deployment

Review heroku's Java application deployment guide

  • Login to heroku cli heroku login
  • Clone this repo git clone https://github.com/notem/Rider-Bot-Heroku.git; cd Rider-Bot-Heroku
  • Create the heroku instance heroku create; git push heroku master
  • Set environment config variables
    • heroku config:set BOT_TOKEN="[your bot token]"
    • heroku config:set WEB_TOKEN="none"
    • heroku config:set ADMIN_ID="[your discord ID]"
    • heroku config:set PREFIX=":"
    • heroku config:set ADMIN_PREFIX="."
    • heroku config:set CHANNEL="lfg"
    • heroku config:set EXPIRE="1h"
    • heroku config:set COOLDOWN="1000"
    • Alternatively, the above can be setup through the heroku web interface
  • Start the application heroku ps:scale run=1

Dependencies

You can’t perform that action at this time.