To bootstrap a Drupal 8 project with Drumkit:
mkdir myproject cd myproject git init wget -O - https://drumk.it/installer | /bin/bash . d make init-project-drupal8
This will prompt you for some information to populate your project:
https://[projectname].lndo.siteURL that Lando assigns to your project.
make installcommand, etc.)
Each of these has a default value, and once you’ve entered all of them, Drumkit will proceed with ensuring you have the relevant dependencies to initialize the project- primarily this is Python3 (for Jinja2 templating), plus Behat, Docker, and Lando.
If any packages are missing you may be prompted by
sudo for your
user password so
apt can install them. Then it will call the
composer create-project command to initialize the codebase. Finally it will create a
handful of default make targets, in the following files, and initialize your
~myproject/.mk/mk.d/20_lando.mk- lando targets like
~myproject/.mk/mk.d/30_build.mk- composer targets like
~myproject/.mk/mk.d/40_install.mk- drush targets like
Once complete, you have a fully loaded Drumkit setup to drive your Lando Drupal local dev site.
make start # Start Lando containers make build # Build composer codebase make install # Run Drupal installer (via drush)
This will get you a working site at https://[projectname].lndo.site.