Skip to content

Latest commit

 

History

History
45 lines (31 loc) · 1.75 KB

README.md

File metadata and controls

45 lines (31 loc) · 1.75 KB

Telegram Weather Bot

Telegram Weather Bot - The Weather In Your City

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.

Installation

TG-Weather Bot requires Python v3+ to run.

Install the dependencies and devDependencies and start the server.

$ sudo apt install python3-pip
$ pip3 install virtualenv
$ cd ~ && git clone https://github.com/Hakob/TG-WeatherBot.git
$ cd TG-WeatherBot
$ virtualenv --python=python3 venv 
$ source bin/activate
(venv)$ pip3 install -r requirements.txt 
(venv)$ python3 main.py                   # Before this command, make sure that you provide 
                                          # weather_api_key and tg_token in main.py

Deployment

For deployment this bot requires two token-variables, which we'll apply in the main.py file. Add additional notes about how to bring these token respectively for: weather_api_key and tg_token variables. (See 10, 11 lines in main.py)

Built With

License

This project is licensed under the MIT License - see the LICENSE.md file for details