File tree Expand file tree Collapse file tree 2 files changed +15
-0
lines changed Expand file tree Collapse file tree 2 files changed +15
-0
lines changed Original file line number Diff line number Diff line change @@ -4,6 +4,8 @@ Static conformity is largely used in the dev world but there is no such tool for
4
4
This tool connect to a postgres database to check good practices in schema design and output a file in [ Sarif] [ 2 ] format.
5
5
A configuration file describe the rule to enforce and acceptable threshold
6
6
7
+ An example of the output is: ![ dblinter output] ( docs/dblinter-output.png )
8
+
7
9
## Launch dblinter
8
10
9
11
### Docker
@@ -16,6 +18,19 @@ Launch the docker image
16
18
docker run --rm -t decathlon/dblinter:latest --dbname $PGDATABASE --host $PGHOST --user $PGUSER --password $PGPASSWORD --port $PGPORT
17
19
```
18
20
21
+ ## Directly from the source
22
+
23
+ You can launch dblinter directly from the source code. You will need python and poetry to install the dependencies:
24
+
25
+ ``` shell
26
+ # Install poetry
27
+ curl -sSL https://install.python-poetry.org | python3 -
28
+ # Install dependencies
29
+ poetry install --with dev
30
+ # Launch the program
31
+ poetry run python -m dblinter --dbname $PGDATABASE --host $PGHOST --user $PGUSER --password $PGPASSWORD --port $PGPORT
32
+ ```
33
+
19
34
## Usage
20
35
21
36
``` shell
You can’t perform that action at this time.
0 commit comments