1. create itemsnonts/config.json with credentials for postgres database you want to use. It should look something like this: { "dbname": "itemsnonts", "user": "postgres", "password": "password", "host": "172.17.0.4", "port": "5432" } 2. run tnoTables.py as script to set up database tables, etc. 3. itemsnonts.py as script for the current functionality