Help us shape the future of Go! Take the 2026 Go Developer Survey

ywpti

command module
v1.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 22, 2019 License: MIT Imports: 12 Imported by: 0

README

Weather Notifications

Simple system which notify users about weather in to Telegram via Horn

Installing

1 Clone project

git clone https://github.com/Rishats/ywpti.git

2 Change folder

cd ywpti

3 Create .env file from .env.example

 cp .env.example .env

4 Configure your .env

   YW_API_URI=https://api.weather.yandex.ru/v1/informers
   YW_LAT=43.262547
   YW_LON=76.927127
   YW_LANG=kk_KZ
   INTEGRAM_WEBHOOK_URI=https://integram.org/webhook/cCgds28sIpG
Running

Via docker:

 docker build -t wn .
 docker run -d --name "wn" wn

Via go native:

go run main.go

Versioning

We use SemVer for versioning. For the versions available, see the tags on this repository.

Authors

License

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

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL