mirror of
https://gitlab.com/allianceauth/allianceauth.git
synced 2025-12-19 07:15:04 +01:00
split maintenance tasks into bare metal / docker
This commit is contained in:
@@ -8,7 +8,31 @@ This module is used to check the registration status of Corp members and to dete
|
||||
|
||||
Corp Stats requires access to the `esi-corporations.read_corporation_membership.v1` SSO scope. Update your application on the [EVE Developers site](https://developers.eveonline.com) to ensure it is available.
|
||||
|
||||
Add `'allianceauth.corputils',` to your `INSTALLED_APPS` list in your auth project's settings file. Run migrations to complete installation.
|
||||
- Add `'allianceauth.corputils',` to `INSTALLED_APPS` in your `local.py`
|
||||
|
||||
Perform Django Maintenance and restart our Web Service and Workers.
|
||||
|
||||
::::{tabs}
|
||||
:::{group-tab} Bare Metal
|
||||
|
||||
```shell
|
||||
python manage.py migrate
|
||||
python manage.py collectstatic --noinput
|
||||
supervisorctl restart myauth:
|
||||
```
|
||||
|
||||
:::
|
||||
:::{group-tab} Containerized
|
||||
|
||||
```shell
|
||||
docker compose --env-file=.env up -d
|
||||
docker compose exec allianceauth_gunicorn bash
|
||||
auth migrate
|
||||
auth collectstatic
|
||||
```
|
||||
|
||||
:::
|
||||
::::
|
||||
|
||||
## Creating a Corp Stats
|
||||
|
||||
|
||||
Reference in New Issue
Block a user