Skip to content

About

Building a highly performant photosearch with Elasticsearch, Docker, React, and Redux

Resources

Stars

0 stars

Watchers

1 watching

Forks

 
 

Latest commit

 

History

49 Commits

Folders and files

Repository files navigation

Searcher

In Progress The Search Engine being made using React.js

Instructions

Part 1: Search Infrastructure

Prerequisites: Docker and Docker host.

Clone the repo and in the top level run docker-compose up

Part 2: Indexing

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>

Part 3:

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

About

Building a highly performant photosearch with Elasticsearch, Docker, React, and Redux

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages