In Progress The Search Engine being made using React.js
Prerequisites: Docker and Docker host.
Clone the repo and in the top level run docker-compose up
Prerequisites: nodejs; node canvas - which requries node-gyp and cairo
Installing node canvas dependency can be tough So follow this:
xcode-select --install # this is important
npm install node-gyp -g
brew install giflib cairo libjpeg giflib pixman
export PKG_CONFIG_PATH=/opt/X11/lib/pkgconfig
OTHER_CFLAGS=-I/usr/local/include npm install canvas
In the indexer directory run npm install
to set up the dependencies.
Then run node index.js <path to photos>
Again in the top level, run npm start
This will start the react app in (http://localhost:3000/)
Here is the keynote presentation of why and how I did this project (with screenshots): https://www.RohitMotwani.com/presentation.key