- current only works on port 80
- wiki powered by gollum is not working (in the new OpenML frontend this will no longer be used).
- Only the local admin account works for now. There is an issue with login and it will not be possible to create and login with other accounts (Work in progress)
- Git (https://git-scm.com/)
- Docker (https://www.docker.com/get-docker)
For Linux: docker commands assume you can use docker without sudo (your user is in docker group, ex: sudo usermod -aG docker $USER). Otherwise prefix docker commands with sudo.
Note that we clone docker_changes branch of OpenML repo.
git clone https://github.com/openml/openml-docker-dev.git
cd openml-docker-dev
git clone -b docker_changes https://github.com/openml/OpenML.git
Edit docker-compose.yml mainly define a secure mysql password:
(leaving the default will make docker-compose fail)
Copy OpenML\openml_OS\config\BASE_CONFIG-BLANK.php to OpenML\openml_OS\config\BASE_CONFIG.php
Check & change BASE_CONFIG.php as appropriate:
Define BASE_URL as localhost:
Define path and data path. In the docker compose, note that /var/www/html is mapped to ./OpenML.
Configure details for the experiment database.
Configure details for the OpenML database.
Configure elastic search.
Disable email activation in OpenML\openml_OS\config\ion_auth.php
On the openml-docker-dev root folder, where docker-compose.yml is located run:
docker pull docker.elastic.co/elasticsearch/elasticsearch:6.8.2
docker-compose up
The elasticsearch pull is needed only for the very first time. Images can take few minutes to build for the first time, after start wait a few seconds for services to be ready, ex: MySQL ready for connections)
Step 4 Check phpmyadmin at http://localhost:8080/
Execute in a new window/shell:
docker exec -it openml-docker-dev_website_1 php index.php cron init_local_env
(take note the printed admin username and password, and wait to finish, can take 1-2mins)
Change data folder owner to www-data apache user in container, allow for logs/uploads in data folder, resets log file permissions created in previous init step
Execute in a new window/shell:
docker exec -it openml-docker-dev_website_1 chown -R www-data:www-data /var/www/html/data
Login on http://localhost with admin and saved password