summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authoradamhrv <adam@ahprojects.com>2019-01-15 00:18:33 +0100
committeradamhrv <adam@ahprojects.com>2019-01-15 00:18:33 +0100
commit304b69d16a6b4bc788ae509f5b8b0e7bb436094f (patch)
treecdf2364f046c24eb1adc1893dc209f6a2fb3561f /README.md
parentec6430b621ff6137ac7150234cb950aac56ff53f (diff)
parent8dcb846682542c609a5498ed69a30a69cb1eace5 (diff)
Merge branch 'master' of github.com:adamhrv/megapixels_dev
Diffstat (limited to 'README.md')
-rw-r--r--README.md13
1 files changed, 13 insertions, 0 deletions
diff --git a/README.md b/README.md
index 67422ee7..48e06b6e 100644
--- a/README.md
+++ b/README.md
@@ -7,10 +7,14 @@ FaceQuery.me, mozilla, nytimes
- miniconda / python3.6
- mysql
- nvm, node
+- redis
+- nginx
```
+conda create -n megapixels python=3.6
conda install pytorch torchvision -c pytorch
conda install faiss-cpu -c pytorch
+conda install tensorflow
pip install numpy Pillow
pip install dlib
pip install requests simplejson click pdfminer.six
@@ -18,6 +22,7 @@ pip install urllib3 flask flask_sqlalchemy mysql-connector
pip install pymediainfo tqdm opencv-python imutils
pip install scikit-image python-dotenv imagehash scikit-learn colorlog
pip install celery keras tensorflow
+pip install python.app # OSX only!
sudo apt-get install libmysqlclient-dev
@@ -43,5 +48,13 @@ python cli_faiss.py sync_metadata
python cli_faiss.py build_faiss
python cli_faiss.py build_db
python cli_site.py build
+```
+
+## Running the site
+
+```
python cli_flask.py run
+python `which celery` worker -A app.server.tasks --loglevel=info -E
+redis-server /usr/local/etc/redis.conf
+npm run watch
```