File tree Expand file tree Collapse file tree 3 files changed +57
-0
lines changed Expand file tree Collapse file tree 3 files changed +57
-0
lines changed Original file line number Diff line number Diff line change
1
+ # Instructions
2
+
3
+ 1 . Install package and dependencies
4
+ ``` bash
5
+ $ pip install sqlalchemy-postgresql-audit
6
+ $ pip install psycopg2
7
+ $ pip install alembic
8
+ $ pip install -e test-app
9
+
10
+ 2. Run
11
+
12
+ ` ` ` bash
13
+ $ docker-compose up -d
14
+
15
+ 3. Run
16
+
17
+ ` ` ` bash
18
+ $ alembic upgrade head
19
+
20
+ 4. Database now has tables, audit tables, and triggers.
Original file line number Diff line number Diff line change
1
+ # Instructions
2
+
3
+ 1 . Install package and dependencies
4
+ ``` bash
5
+ $ pip install sqlalchemy-postgresql-audit
6
+ $ pip install psycopg2
7
+
8
+ 2. Run
9
+
10
+ ` ` ` bash
11
+ $ docker-compose up -d
12
+
13
+ 3. Run
14
+
15
+ ` ` ` bash
16
+ $ python plugin.py
17
+
18
+ 4. Database now has tables, audit tables, and triggers.
19
+
Original file line number Diff line number Diff line change
1
+ # Instructions
2
+
3
+ 1 . Install package and dependencies
4
+ ``` bash
5
+ $ pip install sqlalchemy-postgresql-audit
6
+ $ pip install psycopg2
7
+
8
+ 2. Run
9
+
10
+ ` ` ` bash
11
+ $ docker-compose up -d
12
+
13
+ 3. Run
14
+
15
+ ` ` ` bash
16
+ $ python simple.py
17
+
18
+ 4. Database now has tables, audit tables, and triggers.
You can’t perform that action at this time.
0 commit comments