diff options
| author | Jan Tuomi <jan.tuomi@valuemotive.com> | 2021-04-18 20:10:34 +0300 |
|---|---|---|
| committer | Jan Tuomi <jan.tuomi@valuemotive.com> | 2021-04-18 20:10:34 +0300 |
| commit | cf2e3c99ded0f48bd565858aedc7f10a0d932a61 (patch) | |
| tree | 699e9c6b78456474b4b0e680a15a6b1bc49aab08 /README.md | |
| parent | baacc7676c688cd2728033e9051208d655255ee5 (diff) | |
Add db connection
Diffstat (limited to 'README.md')
| -rw-r--r-- | README.md | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/README.md b/README.md new file mode 100644 index 0000000..7419a02 --- /dev/null +++ b/README.md @@ -0,0 +1,16 @@ +# hommabot2 + +Rewrite of hommabot (Python3) in TS. + +# Running + +1. Set up DB. The `sql` directory is mounted inside the `db` container as `/sql`. + +``` +docker-compose up -d db +docker-compose exec db psql postgresql://postgres:postgres@localhost/postgres -f /sql/001-init.sql +``` + +2. Set up `.env` +3. `npm run dev` + |
