mirror of
https://gitlab.com/allianceauth/allianceauth.git
synced 2025-07-09 04:20:17 +02:00
50 lines
1.7 KiB
Markdown
50 lines
1.7 KiB
Markdown
# Ship Replacement
|
|
|
|
Ship Replacement helps you to organize ship replacement programs (SRP) for your alliance.
|
|
|
|

|
|
|
|
## Installation
|
|
|
|
- Add `'allianceauth.srp',` 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
|
|
```
|
|
|
|
:::
|
|
::::
|
|
|
|
## Permissions
|
|
|
|
To use and administer this feature, users will require some of the following.
|
|
|
|
```{eval-rst}
|
|
+----------------------+------------------+------------------------------------------------------------+
|
|
| Permission | Admin Site | Auth Site |
|
|
+======================+==================+============================================================+
|
|
| srp.access_srp | None | Can create an SRP request from a fleet |
|
|
+----------------------+------------------+------------------------------------------------------------+
|
|
| auth.srp_management | None | Can Approve and Deny SRP requests, Can create an SRP Fleet |
|
|
+----------------------+------------------+------------------------------------------------------------+
|
|
| srp.add_srpfleetmain | None | Can Create an SRP Fleet |
|
|
+----------------------+------------------+------------------------------------------------------------+
|
|
```
|