summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
Diffstat (limited to 'README.md')
-rw-r--r--README.md25
1 files changed, 25 insertions, 0 deletions
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
+```