From 47022609692ab97939ed018e992181b9e1fa16d6 Mon Sep 17 00:00:00 2001 From: Matt Theissen Date: Thu, 12 Aug 2021 20:46:12 -0500 Subject: [PATCH] Updated README --- README.md | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/README.md b/README.md index 9e2135f..dd64560 100644 --- a/README.md +++ b/README.md @@ -15,6 +15,29 @@ Setup the database: `CREATE TABLE balance (id SERIAL UNIQUE,balance NUMERIC);` `CREATE TABLE transaction (id NUMERIC,username VARCHAR(50),amount NUMERIC,timestamp TIMESTAMP);` +**Create a config file named `ddbank_config` located in the same directory as the script.** +**Config file should have the following:** +``` +#Config +## Starting balance +bal="00.00" + +## Postgres +### Database user +dbuser="ddbank" +### Database Port +dbport="5432" +### Datavase host +dbhost="knd-db01.kniod.corp" +### Database name +datab="ddbank" +``` + + + + + + Use script.