Skip to content

Install OpenideaL with Docker4Drupal by Wodby

Lionel Enkaoua edited this page Nov 8, 2023 · 5 revisions

Requirements

  • You need PHP 7.4 and composer 2 installed on your computer(host)
  • Docker and docker-compose should be properly installed to continue to next stage

Download distribution

Execute this command, which will download all files needed by the OpenideaL distribution inside the folder openideal/

  1. composer create-project linnovate/openideal-composer openideal

Dockerize the project with Docker4Drupal

  1. Download latest version of Docker4Drupal : https://wodby.com/docker4drupal
    2.1 Add files from docker4drupal to openideal folder
    2.2 Remove docker-compose.override.yml
    2.3 Edit .env, here only modified variable:
PROJECT_NAME=openideal
PROJECT_BASE_URL=openideal.docker.localhost
DB_NAME=openideal

MARIADB_TAG=10.7-3.19.0 // You can use any version of mariadb
PHP_TAG=7.4-dev-4.38.5
NGINX_VHOST_PRESET=drupal8

Pull & start containers

  1. Pulling/starting all containers by doing make in openideal/ folder

Install Drupal with OpenideaL

  1. Enter the PHP container by doing make shell
  2. Execute this command in folder web/ to install drupal with the Openideal profile drush si -y --account-name admin --account-pass 123 --account-mail my_mail@example.com --site-name "Openidea L" --db-url=mysql://drupal:drupal@mariadb/openideal idea

image

  1. Set correct owner to sites/default/files: chown -R wodby:www-data sites/default/files/

Done. You can access your OpenideaL website via http://openideal.docker.localhost:8000 !