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.
- Checkout repo
- Make sure to install Elixir 1.9.0 or higher
- Create a
config/dev.ex
- Populate config file with a bot token (obtained from @botfather) and airly api token (see airly
mix run --no-halt
will start application
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