- Go to the Lumina repository: Lumina Repository
- Click on the Fork button in the top right corner to create a copy of the repository in your GitHub account.
- Visit Render.com and sign up for a free account if you don’t have one.
- After logging in, click on the New button in the top right corner.
- Select Web Service from the dropdown menu.
- Choose the GitHub repository you just forked.
- Authorize Render to access your GitHub account if prompted.
- Name: Enter a name for your service (e.g.,
lumina-bot
). - Environment: Select
Node
. - Branch: Select the branch you want to deploy (usually
main
).
- Build Command:
npm install
- Start Command:
node index.js
- Scroll down to the Environment Variables section.
- Add the following variables:
- TELEGRAM_BOT_TOKEN=your_bot_token_here
- OWNER_ID=your_owner_id_here
- URL=https://your_deployment_url_here
- GROUP_JOIN_NOTIFICATIONS=on
- UPTIME_URL=https://your_uptime_url_here
- Click the Create Web Service button at the bottom of the page.
- Render will start building and deploying your service. You can monitor the progress in the dashboard.
- Render offers a free tier, but be aware of any limitations regarding uptime and resource usage.
- Make sure to check the logs in Render if you encounter any issues during deployment.
Now your Lumina bot should be live and ready to assist you and your users!