Skip to content
This repository has been archived by the owner on Nov 11, 2024. It is now read-only.

martosaur/krksmogbot

Repository files navigation

Krksmogbot

A telegram bot that tells you how bad the air is in your area. It uses Nadia telegram client and was heavily inspired by this boilerplate.

Development

  1. Checkout repo
  2. Make sure to install Elixir 1.9.0 or higher
  3. Create a config/dev.ex
  4. Populate config file with a bot token (obtained from @botfather) and airly api token (see airly
  5. mix run --no-halt will start application

Deploy

This bot is meant to be deployed using Elixir releases

There is a dockerfile that would help you assembling a release for ubuntu 18.04. Simply run build_ubuntu_release.sh and it will create release in _build/ubuntu