download miniconda for python 3 https://conda.io/miniconda.html
conda create -n webenv python=3
source activate webenv
pip install -e .
./run-build
manually install all the requirements in conda
Install waitress
conda install -c conda-forge waitress
Run the webserver
waitress-serve --listen 127.0.0.1:8000 --call yabbi.app:create_app
127.0.0.1:8000
Located in /yabbi/blueprints/page/templates/page/home.html
Located in /yabbi/static/scripts
Located in /yabbi/blueprints/page/views.py
Located in /yabbi/blueprints/action/logic.py
yabbi/static/scripts/main.js is the entry point for the client - it sends an ajax request for the "/get_info" url, which returns data in the format: data[pointIndex][0] = x coordinate data[pointIndex][1] = y coordinate data[pointIndex][2] = z coordinate data[pointIndex][3] = currently the strain value of the coordinate.
On success the ajax call: First time- initializes three.js visualisation Calls an update on the three.js visualisation (position and color) Calls runSummaryVis which updates the 2d graph visualisations. Finally, calls itself - looping the update process.