A plugin for publishing moon extractions, and keeping track of moon scan data.
pip install aa-moonstuff==2.0.3
Moonstuff is a plugin for AllianceAuth to allow alliances to better manage moons and their extraction schedules.
Install the project from git to your allianceauth venv.
source /path/to/auth/venv/activate
pip install git+https://gitlab.com/colcrunch/aa-moonstuff
The add it to your INSTALLED-APPS
in local.py
.
INSTALLED_APPS+=[
'moonstuff',
]
Then run migrations and restart your supervisor processes.
Add the following to the end of your local.py
:
CELERYBEAT_SCHEDULE['run_moonstuff_data_import'] = {
'task': 'moonstuff.tasks.import_data',
'schedule': crontab(minute='30'),
}
Alternatively, you can go to the django admin page and add the task at [your auth url]/admin/django_celery_beat/periodictask/
The permissions for this plugin are rather straight forward.
moonstuff.view_moonstuff
- This is access permission, users without this permission will be unable to access the plugin.moonstuff.add_resource
- This permission allows users to upload moon scan data.moonstuff.add_extractionevent
- This permission is allows users to add their tokens to be pulled from when checking for new extraction events.