Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@gnosis.pm/dex-telegram

Package Overview
Dependencies
Maintainers
12
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@gnosis.pm/dex-telegram

[![npm version](https://img.shields.io/npm/v/@gnosis.pm/dex-telegram.svg?style=flat)](https://npmjs.org/package/@gnosis.pm/dex-telegram 'View this project on npm')   [![Build Status](https://travis-ci.org/gnosis/dex-telegram.svg?branch=develop)](http

  • 0.0.5
  • latest
  • npm
  • Socket score

Version published
Weekly downloads
0
decreased by-100%
Maintainers
12
Weekly downloads
 
Created
Source

npm version   Build Status   Coverage Status

Develop:   Build Status   Coverage Status

dFusion Telegram Bots

Setup environment variables

Create a .env file using .env.example as a template.

You'll need to setup the Telegram token and the channel in the .env file or as environment variables when you run the process.

Run in develop

First setup the environment variables

# Install dependencies
yarn install

# Run
yarn dev

Run with docker

First setup the environment variables

Option 1: Run dockerhub image See all available tagged images:

# For example, run the develop branch
docker run --env-file .env gnosispm/dex-telegram:develop

Option 2: Use docker compose First setup the environment variables using .env.example as a template.

Then run docker compose:

docker-compose up

Run in Production

First setup the environment variables

First setup the environment variables using .env.example as a template.

# Install dependencies
yarn install

# Build project
yarn build

# Run
yarn start

liveness probes

The app will expose two endpoints to verify the liveness of it.

By default, the API is exposed in port 3000, but it can be changed using API_PORT environment var.

The endpoints using the default port would be available at:

FAQs

Package last updated on 05 Dec 2019

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc