@@ -92,9 +92,9 @@ Prowler App can be installed in different ways, depending on your environment:
92
92
93
93
** Commands**
94
94
95
- ``` bash
96
- curl -Lo https://github.com/prowler-cloud/prowler/blob/master/docker-compose.yml \
97
- curl -Lo https://github.com/prowler-cloud/prowler/blob/master/.env \
95
+ ``` console
96
+ curl -Lo https://github.com/prowler-cloud/prowler/blob/master/docker-compose.yml
97
+ curl -Lo https://github.com/prowler-cloud/prowler/blob/master/.env
98
98
docker compose up -d
99
99
```
100
100
@@ -111,41 +111,41 @@ docker compose up -d
111
111
112
112
** Commands to run the API**
113
113
114
- ``` bash
115
- git clone https://github.com/prowler-cloud/prowler \
116
- cd prowler/api \
117
- poetry install \
118
- poetry shell \
119
- set -a \
120
- source .env \
121
- docker compose up postgres valkey -d \
122
- cd src/backend \
123
- python manage.py migrate --database admin \
114
+ ``` console
115
+ git clone https://github.com/prowler-cloud/prowler
116
+ cd prowler/api
117
+ poetry install
118
+ poetry shell
119
+ set -a
120
+ source .env
121
+ docker compose up postgres valkey -d
122
+ cd src/backend
123
+ python manage.py migrate --database admin
124
124
gunicorn -c config/guniconf.py config.wsgi:application
125
125
```
126
126
127
127
> Now, you can access the API documentation at http://localhost:8080/api/v1/docs .
128
128
129
129
** Commands to run the API Worker**
130
130
131
- ``` bash
132
- git clone https://github.com/prowler-cloud/prowler \
133
- cd prowler/api \
134
- poetry install \
135
- poetry shell \
136
- set -a \
137
- source .env \
138
- cd src/backend \
131
+ ``` console
132
+ git clone https://github.com/prowler-cloud/prowler
133
+ cd prowler/api
134
+ poetry install
135
+ poetry shell
136
+ set -a
137
+ source .env
138
+ cd src/backend
139
139
python -m celery -A config.celery worker -l info -E
140
140
```
141
141
142
142
** Commands to run the UI**
143
143
144
- ``` bash
145
- git clone https://github.com/prowler-cloud/prowler \
146
- cd prowler/ui \
147
- npm install \
148
- npm run build \
144
+ ``` console
145
+ git clone https://github.com/prowler-cloud/prowler
146
+ cd prowler/ui
147
+ npm install
148
+ npm run build
149
149
npm start
150
150
```
151
151
@@ -185,7 +185,7 @@ The container images are available here:
185
185
186
186
Python >= 3.9, < 3.13 is required with pip and poetry:
187
187
188
- ```
188
+ ``` console
189
189
git clone https://github.com/prowler-cloud/prowler
190
190
cd prowler
191
191
poetry shell
0 commit comments