Sovereignty campaign overview for Alliance Auth.
- Screenshots
- Installation
- Updating
- Changelog
- Translation Status
- Contributing
Important
Please make sure you meet all preconditions before you proceed.
Important
This app is utilising features that are only available in Alliance Auth >= 4.12.0. Please make sure to update your Alliance Auth instance before installing this app, otherwise, an update to Alliance Auth will be pulled in unsupervised.
- 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)
Make sure you're in the virtual environment (venv) of your Alliance Auth installation. Then install the latest version:
pip install aa-sov-timer==4.0.1Configure your AA settings (local.py) as follows:
-
Modify
INSTALLED_APPSto include the following entries:INSTALLED_APPS += [ # ... "eve_sde", # Only if not already added for another app "sovtimer", # ... ] # This line right below the `INSTALLED_APPS` list, and only if not already added for another app INSTALLED_APPS = ["modeltranslation"] + INSTALLED_APPS
-
Add the Scheduled Tasks
if "sovtimer" in INSTALLED_APPS: # 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, } if "eve_sde" in INSTALLED_APPS: # Run at 12:00 UTC each day CELERYBEAT_SCHEDULE["EVE SDE :: Check for SDE Updates"] = { "task": "eve_sde.tasks.check_for_sde_updates", "schedule": crontab(minute="0", hour="12"), }
Copy static files and run migrations
python manage.py collectstatic
python manage.py migrateAA Sovereignty Timer uses EVE SDE data to map IDs to names for solar systems, regions and constellations. So you need to preload some data from SDE once. If you already have run this command, you can skip this step.
python manage.py esde_load_sde
python manage.py sovtimer_load_initial_dataBoth commands might take a moment or two, so be patient ...
Once you have completed all previous steps, restart your AA supervisor service to apply the changes.
Continue with the Common Steps / Configuration below to finish the installation.
Add the app to your conf/requirements.txt:
aa-sov-timer==4.0.1
Configure your AA settings (conf/local.py) as follows:
-
Modify
INSTALLED_APPSto include the following entries:INSTALLED_APPS = [ # ... "eve_sde", # Only if not already added for another app "sovtimer", # ... ] # This line right below the `INSTALLED_APPS` list, and only if not already added for another app INSTALLED_APPS = ["modeltranslation"] + INSTALLED_APPS
-
Add the Scheduled Tasks
if "sovtimer" in INSTALLED_APPS: # 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, } if "eve_sde" in INSTALLED_APPS: # Run at 12:00 UTC each day CELERYBEAT_SCHEDULE["EVE SDE :: Check for SDE Updates"] = { "task": "eve_sde.tasks.check_for_sde_updates", "schedule": crontab(minute="0", hour="12"), }
docker compose build --no-cache
docker compose --env-file=.env up -dRun migrations, copy static files and load EVE SDE data:
docker compose exec allianceauth_gunicorn bash
auth collectstatic
auth migrate
auth esde_load_sde
auth sovtimer_load_initial_dataContinue with the Common Steps / Configuration below to finish the installation.
This app supports AA's feature of public views.
To allow this feature, please add "sovtimer",, to the list of APPS_WITH_PUBLIC_VIEWS in your local.py or conf/local.py for Docker:
APPS_WITH_PUBLIC_VIEWS = [
"sovtimer",
]Note
If you don't have a list for APPS_WITH_PUBLIC_VIEWS yet, then add the whole
block from here.
Restart your supervisor service or your Docker containers to apply the changes.
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 aa-sov-timer==4.0.1
python manage.py collectstatic
python manage.py migrateFinally, restart your AA supervisor service.
To update your existing installation of AA Sovereignty Timer, all you need to do is to update the respective line in your conf/requirements.txt file to the latest version.
aa-sov-timer==4.0.1
Now rebuild your containers and restart them:
docker compose build --no-cache
docker compose --env-file=.env up -dAfter that, run the following commands to update your database and static files:
docker compose exec allianceauth_gunicorn bash
auth collectstatic
auth migrateIt is possible that some versions need some more changes. Always read the changelog and/or release notes to find out more.
See CHANGELOG.md for a detailed list of changes and improvements.
Do you want to help translate this app into your language or improve the existing translation? - Join our team of translators!
Do 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)


