Skip to content

Commit

Permalink
Add example READMEs
Browse files Browse the repository at this point in the history
  • Loading branch information
huntcsg committed Jun 24, 2019
1 parent 9d0103b commit cf0a2f9
Show file tree
Hide file tree
Showing 3 changed files with 57 additions and 0 deletions.
20 changes: 20 additions & 0 deletions examples/alembic/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# Instructions

1. Install package and dependencies
```bash
$ pip install sqlalchemy-postgresql-audit
$ pip install psycopg2
$ pip install alembic
$ pip install -e test-app

2. Run

```bash
$ docker-compose up -d
3. Run
```bash
$ alembic upgrade head

4. Database now has tables, audit tables, and triggers.
19 changes: 19 additions & 0 deletions examples/plugin/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# Instructions

1. Install package and dependencies
```bash
$ pip install sqlalchemy-postgresql-audit
$ pip install psycopg2

2. Run

```bash
$ docker-compose up -d
3. Run
```bash
$ python plugin.py

4. Database now has tables, audit tables, and triggers.

18 changes: 18 additions & 0 deletions examples/simple/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# Instructions

1. Install package and dependencies
```bash
$ pip install sqlalchemy-postgresql-audit
$ pip install psycopg2

2. Run

```bash
$ docker-compose up -d
3. Run
```bash
$ python simple.py

4. Database now has tables, audit tables, and triggers.

0 comments on commit cf0a2f9

Please sign in to comment.