git clone https://github.com/r0lodex/jomwebot.git jomwebot
cd jomwebot/bot
npm install
/api
is a submodule forked from Jomweb Members Api- You need to have your Telegram Bot's API Key. You can acquire this via @botfather.
- Put your Telegram Bot's API key into env.js.
npm install -g nodemon
nodemon server.js
Point Members API url to your local in env.js
:
process.env['JWJ_API_URL'] = 'http://localhost:4000';