Skip to content

chanwutk/pokemon-go-forecast-worker

Repository files navigation

Pokemon Go Forecast Worker

Collect weather data from AccuWeather for Pokemon Go in Bangkok area.

Please visite the demo site.

Setup

Clone this repository and data repository

git clone git@github.com:chanwutk/pokemon-go-forecast-worker.git
git clone git@github.com:chanwutk/pokemon-go-forecast-data.git

Build

cd pokemon-go-forecast-worker
npm install
npm run build

Start

npm run start

Autostart on raspberry pi

Using Crontab

crontab -e

Then, paste this code

# need to sleep because the network might not be ready when the scrip starts.
@reboot sleep 60 && /bin/bash /path/to/pokemon-go-forecast-worker/start-worker.sh

Releases

No releases published

Packages

No packages published