Skip to main content

Fleet finder plugin for Alliance Auth

Project description

AA Fleet Finder

Version License Python Django pre-commit Code Style: black Discord Checks codecov Translation Status Contributor Covenant

ko-fi

Control access to your fleets through Alliance Auth.



Installation

Step 1: Install the Package

Make sure you're in the virtual environment (venv) of your Alliance Auth installation Then install the latest release directly from PyPi.

pip install aa-fleetfinder

Step 2: Configure Alliance Auth

This is fairly simple, just add the following to the INSTALLED_APPS of your local.py

Configure your AA settings (local.py) as follows:

  • Add "fleetfinder", to INSTALLED_APPS

Step 3: Add the Scheduled Task

To set up the scheduled task, add the following code to your local.py:

# AA Fleetfinder - https://github.com/ppfeufer/aa-fleetfinder
if "fleetfinder" in INSTALLED_APPS:
    CELERYBEAT_SCHEDULE["fleetfinder_check_fleet_adverts"] = {
        "task": "fleetfinder.tasks.check_fleet_adverts",
        "schedule": crontab(minute="*/1"),
    }

Step 4: Finalizing the Installation

Run static files collection and migrations

python manage.py collectstatic
python manage.py migrate

Step 4: Setup Permissions

Now it's time to set up access permissions for your new Fleetfinder module.

ID Description Notes
access_fleetfinder Can access the Fleetfinder module Your line members should have this permission, together with everyone you want to have access to he module.
manage_fleets Can manage fleets Everyone with this permission can open and edit fleets

Changelog

See CHANGELOG.md

Contributing

You want to contribute to this project? That's cool!

Please make sure to read the Contribution Guidelines (I promise, it's not much, just some basics)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

aa_fleetfinder-1.4.0.tar.gz (81.3 kB view hashes)

Uploaded Source

Built Distribution

aa_fleetfinder-1.4.0-py3-none-any.whl (113.9 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page