Skip to content

Latest commit

 

History

History
20 lines (19 loc) · 476 Bytes

README.md

File metadata and controls

20 lines (19 loc) · 476 Bytes

To run network

docker-compose -p docbrowse up --build

To inspect database, go to PGAdmin at localhost:8050. To find out what address postgres is running on, do

docker network inspect docbrowse_default

and find the IPv4Address for the database container.

SQL for searching document based on document body

SELECT *
FROM document
WHERE to_tsvector(body) @@ to_tsquery('search string goes here');

So start streamlit app

streamlit run browser.py