mirror of
https://gitlab.com/allianceauth/allianceauth.git
synced 2026-02-07 15:46:20 +01:00
split maintenance tasks into bare metal / docker
This commit is contained in:
@@ -2,9 +2,33 @@
|
||||
|
||||
Access to most of Alliance Auth's features is controlled by Django's permissions system. To help you secure your services, Alliance Auth provides a permission auditing tool.
|
||||
|
||||
This is an optional app that needs to be installed.
|
||||
## Installation
|
||||
|
||||
To install it add `'allianceauth.permissions_tool',` to your `INSTALLED_APPS` list in your auth project's settings file.
|
||||
- Add `'allianceauth.permissions_tool',` 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
|
||||
```
|
||||
|
||||
:::
|
||||
::::
|
||||
|
||||
## Usage
|
||||
|
||||
|
||||
Reference in New Issue
Block a user