Updated README

master
Matt Theissen 4 years ago
parent 81b3725ecb
commit 4702260969

@ -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.