- Install MySQL server >= 8.0 or MariaDB server >= 10.0
- Install dependencies from requirements.txt
- Import search_engine.sql
- Execute the following SQL statement
CREATE USER 'search'@'localhost' IDENTIFIED BY ''; GRANT ALL PRIVILEGES ON search_engine.* to 'search'@'localhost' IDENTIFIED BY '';
- Open indexer.py, and in line 64, where it is written DocPath = "DEV", replace "DEV" with a directory of your choosing.
- Run indexer.py and wait for completion
- Run search.py (console) or webserver.py (graphical)