Skip to content

Chefmate is a from-scratch search engine built using Python, NodeJS, and React for Purdue 2020 Senior Capstone

License

Notifications You must be signed in to change notification settings

ashwinmahesh/Chefmate

Repository files navigation

Chefmate Logo

Ashwin Mahesh, Turner Dunlop, Nathan Venckus, Richa Tenany, Vishva Pandya Arshad Khan,

Features

Crawler

Update later

Ranker

Update later

Client

Update later

Running the Project

On initial download: "chmod +x start"

First run: ./start dev install

Afterwards: ./start

To run the static build (with full, ie User login and storage, functionality), do "npm run build in client/frontend", then use localhost:8000

Visual Studio Add-Ons

Install Prettier and ESLint if you are using Visual Studio. Set formatOnSave to True in your user settings

Connecting To AWS DB Server

Download Chefmate.pem and move it to the keys/ folder in the project

chmod 400 chefmate.pem

ssh -i Chefmate.pem ec2-user@18.222.251.5 OR run ./connect in the keys folder

Congratulations you are in the Chefmate DB

Running the Crawler in the Background of the AWS Server

nohup ./buildIndex > output.txt &

Running the Ranker as a Service in AWS

export FLASK_ENV="production"; python3 ranker.py

Running the Crawler

Set the desired number of iterations in main.py

./buildIndex