Deploy Manually
- Login to your Render account.
- Click on
New Service
and select web service. - Now you can connect your GitHub or GitLab repository to Render.
After this process, you have to configure the environment variables as mentioned above. You can find environment variables section in the Environment
tab of your web service.
Add these keys and respective values to the environment variables:
Key | Value |
---|---|
DEV_CHAT_ID | Your chat id obtained from idbot |
ENV | prod |
GROUP_CHAT_ID | Your group chat id obtained from idbot |
RENDER_APP_URL | The url of the Render app. (Ex: https://your-bot-name.onrender.com ) - Can obtain from Render Dashboard |
PORT | 8443 |
SECRET_KEY | Your secret key here obtained after data encryption procedure |
TELEGRAM_TOKEN | Your Telegram token obtained from botfather earlier |
Now click on Save Changes
and your bot will be deployed on Render.