summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authoradamhrv <adam@ahprojects.com>2018-12-17 01:39:39 +0100
committeradamhrv <adam@ahprojects.com>2018-12-17 01:39:39 +0100
commitc7e73f613fc5189c0adeda9fd693cb6aca3d4247 (patch)
treef4ee5eb0fd84d84780b2d31d48c5ab666ab63236 /README.md
parent88ec48e1c4d93ba9cd3aa186c068ef2aa4c27c56 (diff)
parent6a6af799c528e7d2c865db75757e90cd921f85ae (diff)
Merge branch 'master' of github.com:adamhrv/megapixels_dev
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
+```