Ex. The project contains the company's website.
Clone this repo to your local machine using: git clone git@...
-
Clone the
docker/.env.dist
file todocker/.env
-
Customize the
docker/.env
file with your parameters -
Customize the stack for your host/OS (MAC users see this instructions)
-
Run docker and access to container PHP:
cd docker
make up
make solr-init
make shell
-
Download libraries with
composer
:composer install --prefer-dist
-
Install Drupal and Project
Scratch:
robo scaffold --site=site1 robo install:config minimal --site=site1 robo scaffold --site=site2 robo install:config minimal --site=site2
-
Test use (Run inside a container PHP).
drush --uri=site1 en devel_generate drush --uri=site1 genc 5 --bundles=article --add-type-label --kill --authors=1 drush --uri=site1 pm:uninstall devel_generate drush --uri=site2 en devel_generate drush --uri=site2 genc 5 --bundles=article --add-type-label --kill --authors=1 drush --uri=site2 pm:uninstall devel_generate
or run this robo command
robo test:contents