- 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¶
The source code for the OpenML website can be found on GitHub
Build the app by going to
src/client/app and running
npm run build
Start the server with:
You should now see it running in your browser at
To start the React frontend in developer mode, go to
src/client/app and run:
npm run start
The app should automatically open at
localhost:3000 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.