-
Notifications
You must be signed in to change notification settings - Fork 64
Install OpenideaL with Docker4Drupal by Wodby
Lionel Enkaoua edited this page Apr 26, 2022
·
5 revisions
- 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
Execute this command, which will download all files needed by the OpenideaL distribution inside the folder openideal/
composer create-project linnovate/openideal-composer openideal
- 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.36.0
NGINX_VHOST_PRESET=drupal8
- Pulling/starting all containers by doing
make
in openideal/ folder
- Enter the PHP container by doing make shell
- 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
- 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 !