summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorJules Laplace <julescarbon@gmail.com>2018-12-17 01:23:29 +0100
committerJules Laplace <julescarbon@gmail.com>2018-12-17 01:23:29 +0100
commit6a6af799c528e7d2c865db75757e90cd921f85ae (patch)
tree6e4c04904bdf88f4c48b3cf02e173b9092d0bdaf /README.md
parenta2d4ad0499e4ee4f3f528b2ed7bc162d61026d09 (diff)
readme
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
+```