Telegram bot built with telegraf/telegraf.
Requirements:
- Node.js 8
- Yarn
Clone this repository:
git clone https://github.com/cryptowljs/cryptowl_bot.git
cd cryptowl_botInstall dependencies:
yarnMake sure to set the next environment variables:
URL=https://asdfg.ngrok.io
TELEGRAM__TOKEN=1g**********************VbQYF
TELEGRAM__USERNAME=cryptowl_bot
TELEGRAM__SECRET_PATH=aaaaaaaaaaaaaaaaaaaaaThese can be set with a .env files (ignored by git).
Start this bot:
yarn startRequirements:
- Docker
- Docker-Compose
Create the same .env file but with the production values. Then:
docker-compose up -d --build