valuebound/drupal

This package is abandoned and no longer maintained. No replacement package was suggested.

A Drupal clean slate for projects

Installs: 46

Dependents: 0

Suggesters: 0

Security: 0

Stars: 1

Watchers: 5

Forks: 0

Open Issues: 0

Type:project

v1.2.0 2018-03-17 19:43 UTC

This package is not auto-updated.

Last update: 2022-02-01 13:12:05 UTC


README

Latest Stable Version License composer.lock

A composer workflow based Drupal repository to be used as a base for Drupal projets. It is bundled with standard tools for development like Drush, Drupal console, PHPUnit & PHPCS. A set of highly popular & necessary contributed modules is also included to serve a starting for any Drupal 8 project.

Follow the below steps to create a new projects

Pre-Requisites

Usage

  • Using composer get the repository
composer create-project valuebound/drupal drupal
  • Copy exmaple.docker-compose.yml to docker-compose.yml.
  • Copy example.env to .env
  • Update the .env file to suit set your variables for the container
  • Update docker to use Traefik reverse proxy (if you know what you are doing then only edit this file, else leave as it is).
  • Run the docker container
docker-compose up -d

Additional useful tips

  • To view the containers docker-compose ps
  • To stop all the container docker-compose stop
  • To restart the containers docker-compose restart
  • To remove the containers docker-compose rm

Drupal tools usage

  • Drush

The repository ships with Drush version 9.0.0. Ideally if you have Drush installed in your system you can directly use it like in any other project. If not use ./vendor/bin/drush [command].

** N.B - If the above doesn't work, use the docker-compose to run drush** docker-compose exec web drush [command]

  • Drupal Console

./vendor/bin/console [command]

  • PHP Codesniffer

./vendor/bin/phpcs [command]