diff options
| author | Jules Laplace <julescarbon@gmail.com> | 2018-12-17 01:23:29 +0100 |
|---|---|---|
| committer | Jules Laplace <julescarbon@gmail.com> | 2018-12-17 01:23:29 +0100 |
| commit | 6a6af799c528e7d2c865db75757e90cd921f85ae (patch) | |
| tree | 6e4c04904bdf88f4c48b3cf02e173b9092d0bdaf /README.md | |
| parent | a2d4ad0499e4ee4f3f528b2ed7bc162d61026d09 (diff) | |
readme
Diffstat (limited to 'README.md')
| -rw-r--r-- | README.md | 25 |
1 files changed, 25 insertions, 0 deletions
@@ -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 +``` |
