Stat Tracker is a web app for Ingress agents to track and predict their progression to levels and badges, and compare themselves to other agents in their local group, or across factions.
Stat Tracker relies on agents to submit their own data. It does not pull any data from the Ingress app or Niantic servers, and thus is not believed to violate the Ingress TOS.
- A LAMP (L inux, A pache, M ySQL, P HP) server
- composer
- ocrad
- A Google Developer account (for OAuth)
- An SMTP server (Your existing email service should provide one)
For directions and more information on how to install these prerequisities see Setting up Stat Tracker
- Clone this repository
- Run
composer describe-version
- Run
composer update
- Copy
config.php.sample
toconfig.php
and set the values appropriately - Execute each SQL script in database/tables, database/procedures and database/functions
For more details, please refer to Setting up Stat Tracker
When a user tries to access Stat Tracker for the first time, they will be emailed an activation code -- 6 hexadecimal digits. The email instructs the user to send their activation code over Faction COMM in the scanner app to an agent (likely you). Once you receive an in-game message with an activation code:
- Open up the
Agents
table - Find the row with the given activation code
- Update the
agent
column to be the agents name that sent you the code.
WARNING: Once you do this, the user will have access to your instance of Stat Tracker. You should go to other lengths to verify the agent's identity. If you need to revoke access for any reason, set the value of the agent
column to an empty string, or delete the entire row.