diff options
| author | adamhrv <adam@ahprojects.com> | 2018-12-17 01:39:39 +0100 |
|---|---|---|
| committer | adamhrv <adam@ahprojects.com> | 2018-12-17 01:39:39 +0100 |
| commit | c7e73f613fc5189c0adeda9fd693cb6aca3d4247 (patch) | |
| tree | f4ee5eb0fd84d84780b2d31d48c5ab666ab63236 /README.md | |
| parent | 88ec48e1c4d93ba9cd3aa186c068ef2aa4c27c56 (diff) | |
| parent | 6a6af799c528e7d2c865db75757e90cd921f85ae (diff) | |
Merge branch 'master' of github.com:adamhrv/megapixels_dev
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 +``` |
