Go to search-engine-webapp directory
setup flaskr virtual environment & install it.
python3 -m venv venv
pip install -e .
Download Elasticsearch/Kibana servers
https://www.elastic.co/guide/en/elasticsearch/reference/current/install-elasticsearch.html
https://www.elastic.co/guide/en/kibana/current/install.html
Paste elasticsearch.yml from es-setup directory to <ELASTICSEARCH-HOME>/conf
Start Elasticsearch and Kibana servers. Fix if there're any errors.
Next step is launch the kibana UI and create index. This index will be used to store all documents and provide search features
Kibana UI- localhost:5601
Go to management-> Dev Tools
Next copy the create index command from /es-setup/es-notes.txt and run from the dev tools
Activate virtual environment
export FLASK_APP=app
export FLASK_ENV=development
flask run
Fix if there are any missing libraries
python -m pip install json2html
set application port from config file
Move to docker so same command works for everyone.
Automate entire installation process