Browse Apps

AA Belt Radar

Here is your description


AA Belt Radar module for AllianceAuth.

A Belt Survey Analyser to track how fast you mine your belt.

<hr />

Features

  • Display estimated completion time for belt mining
  • Show mining speed in m³/s
  • Display remaining volume and belt size information
  • Optional Share your Mining Session with others

Upcoming

  • Respawn Timer for Belts
  • Graphical Upgrades
  • Compressed Price

Highlights

Image: Belt Radar Dashboard

Image: Belt Radar My Sessions

Image: Belt Radar View Session

Installation

[!NOTE] AA Belt Radar needs at least Alliance Auth v5 Please make sure to update your Alliance Auth before you install this APP

Step 1 - Install the Package

Make sure you're in your virtual environment (venv) of your Alliance Auth then install the pakage.

pip install aa-beltradar

Step 2 - Configure Alliance Auth

Configure your Alliance Auth settings (local.py) as follows:

INSTALLED_APPS = [
    # other apps
    "eve_sde",  # only if it not already existing
    "beltradar",
    # other apps?
]

# This line is right below the `INSTALLED_APPS` list, if not already exist!
INSTALLED_APPS = ["modeltranslation"] + INSTALLED_APPS

Step 3 - Add the Scheduled Tasks

To set up the Scheduled Tasks add following code to your local.py

CELERYBEAT_SCHEDULE["AA Belt Radar :: Update Belt Radar"] = {
    "task": "beltradar.tasks.update_all_belt_radar",
    "schedule": crontab(minute=0, hour="*/1"),
}

Step 3.1 - (Optional) Add own Logger File

To set up the Logger add following code to your local.py Ensure that you have writing permission in logs folder.

LOGGING["handlers"]["beltradar_file"] = {
    "level": "INFO",
    "class": "logging.handlers.RotatingFileHandler",
    "filename": os.path.join(BASE_DIR, "log/beltradar.log"),
    "formatter": "verbose",
    "maxBytes": 1024 * 1024 * 5,
    "backupCount": 5,
}
LOGGING["loggers"]["extensions.beltradar"] = {
    "handlers": ["beltradar_file"],
    "level": "DEBUG",
}

Step 4 - Migrate & Preload EVE SDE Data

AA Skillfarm uses EVE SDE data to map IDs to names for EveTypes. You will need to preload some data from SDE once.

python manage.py migrate eve_sde
python manage.py esde_load_sde

Step 4.1 - Migrate App and collect static

Migrate the app and collect static.

python manage.py migrate beltradar
python manage.py collectstatic --noinput

Step 5 - Setting up Permissions

With the Following IDs you can set up the permissions for the Belt Radar

ID Description
basic_access Can access the Belt Radar module All Members with the Permission can access the Belt Radar.
manage_access Can Manage Belt Radar module Can manage Application
admin_access Has access to all Survey Sessions Can see all Survey Sessions

Step 6 - (Optional) Setting up Compatibilies

The Following Settings can be setting up in the local.py

Setting Name Descriptioon Default
BELT_RADAR_APP_NAME Set the name of the APP "Belt Radar"
BELT_RADAR_TASK_TIME_LIMIT Defines the time (in seconds) a task will timeout 1200

Translations

Translations

Help us translate this app into your language or improve existing translations. Join our team!"

Contributing

You want to improve the project? Please ensure you read the Contribution Guidelines

No reviews yet...

Python Requirements

  • allianceauth>=5
  • django-esi>=9
  • django-eveonline-sde
  • django-ninja<2,>=1.5
  • coverage; extra == "tests-allianceauth-latest"
  • factory-boy; extra == "tests-allianceauth-latest"

Required Python packages to be installed and other Python requirement.

App Dependencies


Required apps:

    -


Used by apps:

    -

Dependencies to other apps registered in this app directory.

Classifiers

    No classfiers

Version

0.0.4

License

GPLv3

Homepage

  https://github.com/Geuthur/aa-beltradar

PyPI

  https://pypi.org/project/aa-beltradar/

Last updated

1 week, 1 day ago

First published

1 week, 1 day ago

Category

Plugin Apps

Rating

-

Authors

-

Maintainers

Geuthur Geuthur

Please login to see more options.