-
-
Save Hrishi2861/3f04a05b4d86241a454bd284ed1c3dee to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- Install CLI using official docs: https://devcenter.heroku.com/articles/heroku-cli | |
- Clone this repo: https://github.com/Hrishi2861/Terabox-Downloader-Bot && cd Terabox-Downloader-Bot | |
- Now add your variables in config.env | |
- After adding your private files: git add . -f | |
- Then commit your changes: git commit -m init | |
- Login to heroku: heroku login | |
- Create heroku app: heroku create --region us YOUR-APP-NAME | |
- Add remote: heroku git:remote -a YOUR-APP-NAME | |
- Create container: heroku stack:set container | |
- Push to heroku: git push heroku main -f | |
### Extras | |
- To delete the app: heroku apps:destroy YOUR-APP-NAME | |
- To restart dyno: heroku restart | |
- To turn off dyno: heroku ps:scale web=0 | |
- To turn on dyno: heroku ps:scale web=1 | |
- To set heroku variable: heroku config:set VARNAME=CONFIG_FILE_URL | |
- To get live logs: heroku logs -t |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment