Steps to set-up development:
- Get a Bot-API-Token from BotFather in Telegram
- Get Dropbox API Token from Dropbox Account
- Get Google API Credentials from Google API
- Create a .env file that contains the following:
- BOT_API_TOKEN='Fill with Token'
- DROPBOX_API_TOKEN='Fill With Token'
- GOOGLE_APPLICATION_CREDENTIALS=google-credentials.json
Deployment:
1.Heroku create on CLI
2.Add the following 2 buildpacks on Heroku:
1.https://github.com/gerywahyunugraha/heroku-google-application-credentials-buildpack
1.https://github.com/heroku/heroku-buildpack-python
3.Set up the config variables (BOT_API_TOKEN, DROPBOX_API_TOKEN, and GOOGLE_APPLICATION_CREDENTIALS=google-credentials.json, and GOOGLE_CREDENTIALS='Fill with JSON Content of google API Credentials Token')