From c293006ba43944ffeb4dcab17b2256f3a5491a36 Mon Sep 17 00:00:00 2001 From: Jules Laplace Date: Thu, 17 Jan 2019 15:10:19 +0100 Subject: build cloud --- README.md | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'README.md') diff --git a/README.md b/README.md index 48e06b6e..0348562f 100644 --- a/README.md +++ b/README.md @@ -22,7 +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! +pip install python.app # OSX only! needed for matplotlib sudo apt-get install libmysqlclient-dev @@ -40,6 +40,8 @@ ALTER DATABASE megapixels CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci; ## Building the site +The most recently built copy of the site is kept in the repo. This is generated directly from NextCloud. Be mindful that NextCloud will create extra copies of things if there are merge conflicts. + ``` npm install npm run build @@ -52,9 +54,12 @@ python cli_site.py build ## Running the site +On OSX, you must run `pythonw` to use matplotlib. + ``` 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 ``` + -- cgit v1.2.3-70-g09d2