Skip to content
This repository has been archived by the owner on Jun 12, 2023. It is now read-only.

Telegram bot de suport per llistar grups de suport mutu a Catalunya.

Notifications You must be signed in to change notification settings

DanielMoraDC/covid-19-suport-mutu-bot

Repository files navigation

Covid Suport Mutu Catalunya

This purpose of this bot is to retrieve the closest mutual aid group given the user's location in Catalonia.

Development

You need to install the requirements, making sure the following are installed:

  • Python >= 3.7
  • Virtualenv >= 15.1.0

Then, create a virtual environment (e.g. named venv):

virtualenv --python=python3.7 venv

Activate and install dependencies:

source venv/bin/activate

Then you can run bot by typing:

TELEGRAM_BOT_TOKEN=<telegram-token> bot.py

Make sure you use a proper Telegram Bot Token <telegram-token>. Follow instructions in here to create one.

Deployment

In order to be able to configure CD on this bot, you need to configure two Github secrets:

  • HEROKU_API_KEY. Instructions on how to generate key for your app, here.
  • HEROKU_APP_NAME. Name of the Heroku app you want to use for the bot.

Future work

  1. Automatic detection of groups and locations (i.e. we are hard-coding them now).

About

Telegram bot de suport per llistar grups de suport mutu a Catalunya.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages