aa-incursions
AllianceAuth Incursion Tools
Incursions for Alliance Auth
Incursion Tools for Alliance Auth.
Features
- AA-Discordbot Cogs for information about active incursions, their status and any set Focus
-
Webhook notifications for new incursions and them changing state (Mobilizing/Withdrawing)
-
WIP Waitlist forked from TLA
Planned Features
- Waitlist
- AA Fittings Integration
- Secure Groups Integration
Installation
Step 1 - Django Eve Universe
Incursions is an App for Alliance Auth, Please make sure you have this installed. incursions is not a standalone Django Application
Incursions needs the App django-eveuniverse to function. Please make sure it is installed before continuing.
Step 2 - Install app
pip install aa-incursions
Step 3 - Configure Auth settings
Configure your Auth settings (local.py
) as follows:
- Add
'incursions'
toINSTALLED_APPS
- Add below lines to your settings file:
## Settings for AA-Incursions ##
# Route is Cached for 300 Seconds, if you aren't riding the Kundalini Manifest to the last minute
# Feel free to adjust this to minute='*/5'
CELERYBEAT_SCHEDULE['incursions_update_incursions'] = {
'task': 'incursions.tasks.update_incursions',
'schedule': crontab(minute='*/1', hour='*'),
}
Step 4 - Maintain Alliance Auth
- Run migrations
python manage.py migrate
- Gather your staticfiles
python manage.py collectstatic
- Restart your project
supervisorctl restart myauth:
Step 5 - Pre-Load Django-EveUniverse
python manage.py eveuniverse_load_data map
This will load Regions, Constellations and Solar Systems
python manage.py loaddata waitlist_badges.json
python manage.py loaddata waitlist_category.json
python manage.py loaddata waitlist_category_rules.json
python manage.py loaddata waitlist_roles.json
Step 6 - Setup Waitlist Dependencies
The Waitlist was built to require a Server-Sent Event backend that i have not yet replaced.
Bare Metal
Generate a Secret with openssl rand -hex 32
, use this later in secret=
git clone https://github.com/luna-duclos/waitlist-sse
docker buildx build . -t tla/sse --load
docker run -d -p 8001:8000 --env SSE_SECRET="0000000000000000000000000000000000000000000000000000000000000000" tla/sse
route sse.domain to localhost:8001 in Nginx
Docker
git clone https://github.com/luna-duclos/waitlist-sse
in NPM route sse.domain route to sse-server
8000
Generate a Secret with openssl rand -hex 32
, use this in your docker compose
Add the following to your Docker-Compose.yml
sse-server:
image: "tla/sse:latest"
build: ./waitlist-sse
ports:
- "8000:8000"
environment:
SSE_SECRET: "0000000000000000000000000000000000000000000000000000000000000000"
Contributing
Make sure you have signed the License Agreement by logging in at https://developers.eveonline.com before submitting any pull requests. All bug fixes or features must not include extra superfluous formatting changes.
No reviews yet...
Python Requirements
- aa-routing
- allianceauth<6,>=4.6.4
- allianceauth-corptools
- audioop-lts; python_version >= "3.13"
- django-eveuniverse
- django-solo<3,>=2
- py-cord<3,>=2
- pynacl
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
- Environment :: Web Environment
- Framework :: Celery
- Framework :: Django
- Framework :: Django :: 4.2
- Intended Audience :: Developers
- License :: OSI Approved :: MIT License
- Operating System :: OS Independent
- Programming Language :: Python
- Programming Language :: Python :: 3 :: Only
- Programming Language :: Python :: 3.10
- Programming Language :: Python :: 3.11
- Programming Language :: Python :: 3.12
- Programming Language :: Python :: 3.13
- Programming Language :: Python :: Implementation :: CPython
- Topic :: Internet :: WWW/HTTP
- Topic :: Internet :: WWW/HTTP :: Dynamic Content
Version
1.0.0a4
License
MIT License
Homepage
https://gitlab.com/tactical-supremacy/aa-incursions
PyPI
https://pypi.org/project/aa-incursions/
Last updated
16 hours ago
First published
1 year, 7 months ago
Category
Plugin Apps
Rating
-Authors
Ariel Rin
Maintainers
-
Please login to see more options.