Quick steps to deploy:
- Create a GitHub repository and upload the files from this package.
- Create a MongoDB (Atlas) cluster and get MONGO_URL.
- On Render (or other host) create a Web Service (Node) and connect your GitHub repo.
- Set environment variables (BOT_TOKEN, MONGO_URL, ADMIN_IDS, VODAFONE_NUMBER, ADMIN_SECRET).
- Deploy. The bot will log: 'Gonajem bot started' when running.
Local testing:
- Install dependencies:
npm install - Copy
.envfromconfig.example.envand fill in values. - Run:
node index.js