From 6a6af799c528e7d2c865db75757e90cd921f85ae Mon Sep 17 00:00:00 2001 From: Jules Laplace Date: Mon, 17 Dec 2018 01:23:29 +0100 Subject: readme --- README.md | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) (limited to 'README.md') diff --git a/README.md b/README.md index 3a23d3b4..5d17c304 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,28 @@ # MegaPixels FaceQuery.me, mozilla, nytimes + +## Installation + +- miniconda / python3.6 +- mysql +- nvm, node + +``` +sudo apt-get install libmysqlclient-dev + +mkdir -p /data_store_hdd/apps/megapixels/faiss/indexes +mkdir -p /data_store_hdd/apps/megapixels/faiss/metadata +``` + +## Building the site + +``` +npm install +npm run build +cd megapixels +python cli_faiss.py sync_metadata +python cli_faiss.py build_faiss +python cli_faiss.py build_db +python cli_flask.py run +``` -- cgit v1.2.3-70-g09d2