Skip to content

Latest commit

 

History

History
24 lines (21 loc) · 1.09 KB

README.md

File metadata and controls

24 lines (21 loc) · 1.09 KB

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