Skip to content

Saves all the planes flying above the designated area in a database.

License

Notifications You must be signed in to change notification settings

Planes-Tracker/planes-tracker

Repository files navigation

Planes tracker

Saves all the planes flying above the designated area in a database.

See the changelog for the latest updates.

Table of content

Installation

You can use Docker or install this app manually. Here's how:

Compiling from source

You can either:

  • Use the Makefile by running make in the project directory.
  • Use go build in the project directory.

Configuration

The configuration details must be set inside a .env file at the root of the project. An exemple is provided inside .env.example.

Config details

Item Values Meaning
TRACKER_POLL_RATE number Tracker poll rate (in seconds)
TRACKER_DEBUG boolean Enable debug logs
TRACKER_LOCATION_LATITUDE floating point number Latitude of the center of the area to be covered
TRACKER_LOCATION_LONGITUDE floating point number Longitude of the center of the area to be covered
TRACKER_RADIUS_DISTANCE number Radius distance from the center of the area to be covered (in Km)

Usage

If not running the docker compose, you also need to run a postgres database yourself.

  • With docker:
    • Build the image
    • Use docker compose to start both containers
  • With a binary:
    • Run chmod +x planes-tracker.
    • Start the tool with ./planes-tracker
    • You should definetely start it in a screen or daemonize it.
  • Running from source:
    • Start the tool with go run .

Credits

Copyright

See the license.

About

Saves all the planes flying above the designated area in a database.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published