Skip to content

Latest commit

 

History

History
17 lines (13 loc) · 580 Bytes

README.md

File metadata and controls

17 lines (13 loc) · 580 Bytes

Installation

  • 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.

Initialize Server

  • npm install -g nodemon
  • nodemon server.js

Development

Point Members API url to your local in env.js:

process.env['JWJ_API_URL'] = 'http://localhost:4000';