kkoemets / gpfy

Crypto-related Telegram bot

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

gpfy

Crypto-related Telegram bot

Live version: https://telegram.me/gpfy_bot

1. Prerequisites

1.1. List of prerequisites to run the applications
1.1.1. Just start the bot

Head to section 3. and follow the instructions.

1.1.2. In Docker
  1. Docker: https://docs.docker.com/get-docker/
  2. Docker Compose: https://docs.docker.com/compose/install/
1.1.3. Locally
  1. Node.js: https://nodejs.org/en/download/
  2. Python 3: https://www.python.org/downloads/

2. Getting started on development environment

2.1. Installation

  1. Clone the repository: git clone gfpy
  2. Install dependencies: npm install in crypto-data and crypto-data-api directory to. Pack crypto-data module and use it to install dependencies for crypto-data-api module. For further questions please refer to docker-compose.dev.yaml file.
  3. Install Python dependencies: pip install -r requirements.txt in telegram-client directory. To run the client you need to have environment variables set up, see configuration.py. For further questions please refer to docker-compose.dev.yaml file.
  4. Start mongoDB: docker-compose -f docker-compose.dev.yaml up -d bot-database. For further questions please refer to docker-compose.dev.yaml file.

3. Running in Docker

  • Run in terminal from project root bash start.sh to get started with instructions.

License MIT © 2021-2023 Kristjan Koemets.

About

Crypto-related Telegram bot


Languages

Language:TypeScript 79.0%Language:Python 19.5%Language:JavaScript 0.9%Language:Dockerfile 0.6%