Displaying data and gathering feedback.
-
Install dependencies
$ mkvirtualenv tableau (tableau)$ pip install -r requirements.txt
-
Development
(tableau)$ python tableau/app.py
-
More serious
(tableau)$ gunicorn --access-logfile ~/log/tableau.log \ --error-logfile ~/log/tableau-error.log \ --workers 4 --bind "0.0.0.0:5000" tableau.app:app
The comparison table is a react.js compontent, written in the JSX flavor.
The JSX component for the comparison table is located under
tableau/static/jsx/src/comparison.js
.
You can compile the JSX via
$ make compile-jsx
To copy comparison.js
from tableau/static/jsx/build/comparison.js
to tableau/temüplates/comparison.js
use
$ make copy-jsx