Skip to content

abusalam/drupal-malda

Repository files navigation

Official website of Malda

Build Status

Please go through the documentation for directions on opening issues, coding standards, and notes on development.

Look at the static version is of this website on gh-pages.

Usage

  1. Copy .env.dist to .env

  2. Command to start docker:

    docker-compose up -d
  3. Command to install dependencies via composer:

    docker-compose exec php composer install
  4. Open URL http://drupal.docker.localhost:8000/ and use the following values to install Drupal 8

    Database Name = drupal
    Database User = drupal
    Password      = drupal
    Database Host = mariadb
  5. Command to clear Drupal 8 cache:

    docker-compose exec php drush cr
  6. Backup database:

    docker-compose exec mariadb sh -c 'exec mysqldump -uroot -p"password" drupal' > mariadb-init/drupal.sql

    when staring docker using docker-compose it will automatically restore the database from mariadb-init/drupal.sql.

  7. Command to stop docker:

    docker-compose stop
  8. Command to update drupal/core from 8.7.x to 8.8.x:

    docker-compose exec php composer remove webflo/drupal-core-require-dev 
    docker-compose exec php composer require drupal/core
    docker-compose exec php composer require --dev drupal/core-dev

Timeline for Development

Preparation of detail timeline is in progress...

Contributing

Please adhere to the contributing guidelines.

Credits