Skip to content

Local Installation

Joaquin Vanschoren edited this page May 12, 2015 · 13 revisions

Requirements

You'll need to have the following software running:

  • Apache Webserver, (with the rewrite module enabled. Is installed by default, not enabled.)
  • MySQL Server.
  • PHP (comes also with Apache) Or just a XAMP (Mac), LAMP (Linux) or WAMP (Windows) package, which conveniently contains all these applications.

Databases

Next, OpenML runs on two databases, a public database with all experiment information, and a private database, with information like user accounts etc. The public database can be downloaded from this URL: http://www.openml.org/developers, and imported on your server.

The private database can be downloaded from: http://www.openml.org/downloads/openml.sql.gz. Obviously, this does not include any user account info.

NOTE: Developers are advised to use the development version of the databases instead, see: http://openml.liacs.nl/developers. Only these will include the latest changes needed for the latest website updates.

Backend

The source code is available in the 'website' repository: https://github.com/openml/website

OpenML is written in PHP, and can be 'installed' by copying all files in the 'www' or 'public_html' directory of Apache.

After that, you need to provide your local paths and database accounts and passwords using the config file in: 'APACHE_WWW_DIR'/openml_OS/config/BASE_CONFIG.php.

If everything is configured correctly, OpenML should now be running.

Search Indices

If you want to run your own (separate) OpenML instance, and store your own data, you'll also want to build your own search indices to show all data on the website. The OpenML website is based on the ElasticSearch stack. To install it, follow the instructions here: http://knowm.org/how-to-set-up-the-elk-stack-elasticsearch-logstash-and-kibana/

Clone this wiki locally