- If you haven't already, install a recent version of NPM (6 or higher).
- Install Flask and Dash
pip install flask pip install dash
Building and running¶
Build the app by running
npm run build
Start app with:
You should now see it running in your browser at
To start the React frontend in developer mode (with hot loading), run:
npm run dev
The app should automatically open at
localhost:8080 and any changes made to
the code will automatically reload the website.
The website is built on the following components:
- A Flask backend. Written in Python, the backend takes care of all communication with the OpenML server. It builds on top of the OpenML Python API. It also takes care of user authentication and keeps the search engine (ElasticSearch) up to date with the latest information from the server.
- Dash dashboards. Written in Python, Dash is used for writing interactive plots. It pulls in data from the Python API, and renders the plots as React components.