- Clone Github repo:
- Download & install PostgreSQL
- Change directory to the repo’s directory
- cd semantic-search-engine
- Download postgresql dump and and istall all the dependencies needed :
- bash install.sh
- Open terminal inside docker container:
- docker exec -it sem_search_postgres bash
- Connect to postgres:
- psql -U postgres
- Create DB and close connection:
- CREATE DATABASE sem_search;
- Load psql dump and exit docker’s container bash:
- psql -U postgres sem_search < sem_search_export.pgsql
- Run application:
- source venv/bin/activate
- uvicorn src.api:app --reload
It is recommended to have a Linux-based OS, Python 3.7+ and docker.