command
module
Version:
v0.0.0-...-1c17203
Opens a new window with list of versions in this module.
Published: Jul 18, 2024
License: AGPL-3.0
Opens a new window with license information.
Imports: 3
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
¶
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.
Documentation
¶
There is no documentation for this package.
Source Files
¶
Directories
¶
|
|
|
|
|
|
internal
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Click to show internal directories.
Click to hide internal directories.