docs(api): add commands to run API scheduler (#6085)

This commit is contained in:
Sergio Garcia
2024-12-09 10:34:02 -04:00
committed by GitHub
parent a3051bc4e3
commit 2ea5851b67
2 changed files with 26 additions and 0 deletions

View File

@@ -98,6 +98,19 @@ Prowler App can be installed in different ways, depending on your environment:
python -m celery -A config.celery worker -l info -E
```
_Commands to run the API Scheduler_:
``` bash
git clone https://github.com/prowler-cloud/prowler \
cd prowler/api \
poetry install \
poetry shell \
set -a \
source .env \
cd src/backend \
python -m celery -A config.celery beat -l info --scheduler django_celery_beat.schedulers:DatabaseScheduler
```
_Commands to run the UI_:
``` bash