Skip to content

Latest commit

 

History

History
35 lines (29 loc) · 813 Bytes

README.md

File metadata and controls

35 lines (29 loc) · 813 Bytes

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