Skip to content

Latest commit

 

History

History
49 lines (33 loc) · 1.17 KB

README.md

File metadata and controls

49 lines (33 loc) · 1.17 KB

nestcollector

Collect possible Pokémon Go nests from OSM (Open Street Map) data.

Getting started

Prerequisites

  • Python3
  • MariaDB
  • bc
     apt install bc

Installation

  1. Copy the configuration files and fill both with the corresponding settings.
cp config/config.ini.example config/config.ini && cp scripts/config.ini.example scripts/config.ini
  1. Create your geofence at https://fence.mcore-services.be or copy it from e.g. PoracleJS and place it in config/areas.json.

  2. Install the dependencies.

pip3 install -r requirements.txt
  1. Enjoy! 🚀
python3 run.py

Scripts

In order to execute automatically the scripts and keep updated your nests append this line to your crontab:

05 */<NEST_PROCESSING_FREQUENCY_HOURS> * * * cd <PATH_TO_NESTCOLLECTOR>/scripts && ./processNests.sh >> <PATH_TO_NESTCOLLECTOR>/crontab.out 2>> <PATH_TO_NESTCOLLECTOR>/crontab.err

NOTE: NEST_PROCESSING_FREQUENCY_HOURS should match the value specified in scripts/config.ini.

Authors