Skip to main content

Sov Campaign Timer for Alliance Auth

Project description

AA Sovereignty Timer

Version License Python Django Code Style: black Automated Checks codecov Contributor Covenant Discord

Sovereignty campaign overview for Alliance Auth.

AA Sov Timer Dashboard (Light Mode)

AA Sov Timer Dashboard (Light Mode)

AA Sov Timer Dashboard (Dark Mode)

AA Sov Timer Dashboard (Dark Mode)

Installation

Important: Please make sure you meet all preconditions before you proceed:

  • AA Sovereignty Timer is a plugin for Alliance Auth. If you don't have Alliance Auth running already, please install it first before proceeding. (see the official AA installation guide for details)
  • AA Sovereignty Timer needs the app django-eveuniverse to function. Please make sure it is installed, before continuing.

Step 1 - Install the app

Make sure you are in the virtual environment (venv) of your Alliance Auth installation. Then install the latest version:

pip install aa-sov-timer

Step 2 - Update your AA settings

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

  • Add 'eveuniverse', to INSTALLED_APPS
  • Add 'sovtimer', to INSTALLED_APPS

Restart your supervisor

Step 3 - Finalize the installation

Copy static files and run migrations

python manage.py collectstatic
python manage.py migrate

Step 4 - Preload Eve Universe data

AA Sovereignty Timer uses Eve Universe data to map IDs to names for solar systems, regions and constellations. So you need to preload some data from ESI once. If you already have run this command, you can skip this step.

python manage.py eveuniverse_load_data map
python manage.py sovtimer_load_initial_data

Both commands might take a moment or two, so be patient ...

Step 5 - Setup permission

Now you can setup permissions in Alliance Auth for your users. Add sovtimer | Sovereignty Timer | Can access the Sovereignty Timer module to the states and/or groups you would like to have access.

Step 6 - Keep campaigns updated

Add the following scheduled task to your local.py. One done, restart your supervisor.

## AA Sovereignty Timer
# Run sovereignty related updates every 30 seconds
CELERYBEAT_SCHEDULE["sovtimer.tasks.run_sov_campaign_updates"] = {
    "task": "sovtimer.tasks.run_sov_campaign_updates",
    "schedule": 30.0,
}

Now your system is updating the sovereignty campains every 30 seconds.

Updating

To update your existing installation of AA Sovereignty Timer first enable your virtual environment.

Then run the following commands from your AA project directory (the one that contains manage.py).

pip install -U aa-sov-timer
python manage.py collectstatic
python manage.py migrate

Finally restart your AA supervisor services.

Project details


Release history Release notifications | RSS feed

Download files

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

Source Distribution

aa-sov-timer-1.4.0.tar.gz (571.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

aa_sov_timer-1.4.0-py3-none-any.whl (580.6 kB view details)

Uploaded Python 3

File details

Details for the file aa-sov-timer-1.4.0.tar.gz.

File metadata

  • Download URL: aa-sov-timer-1.4.0.tar.gz
  • Upload date:
  • Size: 571.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.63.0 importlib-metadata/4.11.2 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.8.12

File hashes

Hashes for aa-sov-timer-1.4.0.tar.gz
Algorithm Hash digest
SHA256 1f76a99acb05c06dcbefcfe0b7fdae47a2b8bedb9da7ec43f875144ce5d15abf
MD5 f2e112b02c632614c5397edec0f5f519
BLAKE2b-256 ac2d8d9f4309f59ac150edfe4a66b30e6b36f7e16a18b55e08a0a85856c1b102

See more details on using hashes here.

File details

Details for the file aa_sov_timer-1.4.0-py3-none-any.whl.

File metadata

  • Download URL: aa_sov_timer-1.4.0-py3-none-any.whl
  • Upload date:
  • Size: 580.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.63.0 importlib-metadata/4.11.2 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.8.12

File hashes

Hashes for aa_sov_timer-1.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 6debd23309e2b3c6147657d312a94fa75064c45072a7666dbc8a74b54c07b5e0
MD5 e02694d7bf1729f485645329fdb9392f
BLAKE2b-256 9dbe3376dde51f4fce817cad910383e9d82d29286f364efdface951b70766f22

See more details on using hashes here.

Supported by

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