Skip to content

cddc22/123

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

tg-shellbot-heroku

https://github.com/botgram/shell-bot https://github.com/dissipator/gd-utils https://github.com/iwestlin/gd-utils

Deploy to Heroku

You can deploy without forking to test it out. I highly recommend forking this repo so that you can customise it as you want:

extras.sh and startup.sh explained:

A heroku dyno will restart every 24 hrs and resets everything. In order to make it start up quickly, the installation and startup scripts are separated.

extras.sh

Everything you need to install, you need to write it into this file. By connecting your forked version of this repo and your heroku app, you can seamlessly redeploy everytime you add something in using github

startup.sh

This script is reserved for adding in commands before the bot starts. If any configuration or setup is required, it should be written to this file as heroku resets every 24 hrs.

Example:

Say you want to install rclone. You put the installation command in extras.sh and the configuration file in the /stuff folder. In the startup.sh you put in the command for copying the config file to the correct destination.