Skip to content
This repository was archived by the owner on Apr 26, 2024. It is now read-only.

ihpr/weather-notificator

Repository files navigation

Weather notificator

A console application which is capable to examine whether data and depending on the temperature send notifications.

It uses Open Weather Map API to fetch weather data & Routee API to send SMS-notifications.

Requirements

  • Git
  • Docker
  • Straight arms :)

Necessary deploy steps

  • At first clone the repo (if you have some access issue talk to the author)
  • Execute cp .env.dist .env (if .env not defined)
  • Fill .env with credentials (if .env not defined)
  • In the main root folder run: docker-compose up -d
  • Install all packages: docker-compose exec php composer install
  • Run cron by executing: docker-compose exec php service cron start

! TO STOP CRON RUN docker-compose exec php service cron stop

About

App which examine whether data and send notifications

Resources

Stars

Watchers

Forks

Packages

No packages published