valuebound / drupal
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
Requires
- cweagans/composer-patches: ^1.6.0
- dealerdirect/phpcodesniffer-composer-installer: ^0.4.4
- drupal/admin_toolbar: ^1.22
- drupal/adminimal_theme: ^1.3
- drupal/advagg: ^3.4
- drupal/block_class: ^1.0@alpha
- drupal/block_visibility_groups: ^1.1
- drupal/console: ^1.0.2
- drupal/core: ^8.5
- drupal/devel: ^1.2
- drupal/field_group: ^1.0
- drupal/google_analytics: ^2.2
- drupal/honeypot: ^1.27
- drupal/menu_link_attributes: ^1.0
- drupal/metatag: ^1.4
- drupal/paragraphs: ^1.2
- drupal/pathauto: ^1.0
- drupal/redirect: ^1.0
- drupal/views_infinite_scroll: ^1.5
- drupal/views_slideshow: ^4.6
- drupal/xmlsitemap: ^1.0@alpha
- drush/drush: ~8.0|^9.0.0-beta8
- hussainweb/drupal-composer-helper: ^1.0
Requires (Dev)
- behat/mink: ~1.7
- behat/mink-goutte-driver: ~1.2
- drupal/coder: ^8.2.12
- jcalderonzumba/gastonjs: ~1.0.2
- jcalderonzumba/mink-phantomjs-driver: ~0.3.1
- mikey179/vfsstream: ~1.2
- phpunit/phpunit: >=4.8.28 <5
- symfony/css-selector: ~2.8
Conflicts
This package is not auto-updated.
Last update: 2022-02-01 13:12:05 UTC
README
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
- Docker - https://www.digitalocean.com/community/tutorials/how-to-install-and-use-docker-on-ubuntu-16-04
- Docker Compose - https://www.digitalocean.com/community/tutorials/how-to-install-docker-compose-on-ubuntu-16-04
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
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]
./vendor/bin/console [command]
./vendor/bin/phpcs [command]