Follow these steps to deploy Aeon to Heroku:
- Click the Fork button at the top-right corner of this repository.
- Give the repository a star to show your support.
- Access your forked version of this repository.
- Go to the Settings tab of your forked repository.
- Enable Actions by selecting the appropriate option in the settings.
- Open the Actions tab.
- Select the
Deploy to Herokuworkflow from the available list. - Click Run workflow and fill out the required inputs:
- BOT_TOKEN: Your Telegram bot token.
- OWNER_ID: Your Telegram ID.
- DATABASE_URL: MongoDB connection string.
- TELEGRAM_API: Telegram API ID (from my.telegram.org).
- TELEGRAM_HASH: Telegram API hash (from my.telegram.org).
- HEROKU_APP_NAME: Name of your Heroku app (you should create this on Heroku beforehand).
- HEROKU_EMAIL: Email address associated with your Heroku account.
- HEROKU_API_KEY: API key from your Heroku account (found under Account Settings > API Key).
- HEROKU_TEAM_NAME (Optional): Required only if deploying under a Heroku team account.
- Run the workflow and wait for it to complete.
- After deployment, configure any remaining variables in your Heroku dashboard.
- Use the
/botsettingscommand to upload sensitive files liketoken.pickleif needed.