Skip to content

sandeep/photosearch

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

photosearch

Building a highly performant photosearch with Elasticsearch, Docker, and AngularJS

Read more about this project on my blog

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

In the indexer directory run npm install to set up the dependencies.

Then run node index.js <path to photos>

Part 3:

The photosearchapp folder has a simple angular app which connects to your elasticsearch instance. Be sure to change the server in app.js to point to your instance and to change the photo path in the main.html file.

Licensing information in the LICENSE file

About

Building a highly performant photosearch with Elasticsearch, Docker, and AngularJS

Resources

License

Stars

Watchers

Forks

Packages

No packages published