Skip to content

Latest commit

 

History

History
32 lines (18 loc) · 824 Bytes

heroku_guide.md

File metadata and controls

32 lines (18 loc) · 824 Bytes

Heroku Guide for setting up gdrive mirror bot.

Clone this bot source

Follow the README to first run it locally and test.

Now, install heroku cli.

Login into your heroku account by:

heroku login

Now, make a project on heroku, say xxx.

Then, do these commands:

heroku git:remote -a xxx

heroku stack:set container

git add -f credentials.json src/.constants.js aria.sh client_secret.json

git commit -m 'Add private stuffs'

git push heroku HEAD:master --force

Warning: Don't even push to a public source with this commit included, those files contain your important credentials.

Now, restart worker dyno by following commands:

heroku ps:scale worker=0

heroku ps:scale worker=1

Your bot is successfully running on heroku.