This repository pulls in the latest Drupal 9.5.x HEAD and then builds three previews:
- Standard install with database import
- Pulls in a gzipped db from Dropbox containing content and enabled modules.
- Pulls in a zip file of the Drupal's
sites/default/filesdirectory.
- Standard install (setting the default theme to Olivero)
- Minimal install (setting the default theme to Olivero)
The preloaded content preview can be found at https://lb.cm/olivero.
Tugboat will generate visual diffs against the base preview. To do this, you'll need to commit your changes to a new branch, push it, and then tell Tugboat to build through the Tugboat admin UI.
- The tugboat database and files directory can be placed in Dropbox by a Mike Herchel.
- To generate a database dump:
drush sql-dump > olivero-db.sqlgzip olivero-db.sql- Then upload the file to the Dropbox folder above.
- Modify the
PRELOADED_DB_DUMPTugboat environment setting
- To generate the files zip file
cdintosites/default/files- run
zip path/to/zipfile.zip -r * - Upload the file into the Dropbox folder above.
- Modify the
PRELOADED_FILES_ZIPTugboat environment setting
- To add modules
- Add new lines similar to
composer require drupal/webform^6into line 100(ish) at within this repository's.tugboat/config.ymlfile. - Ensure that the modules are enabled in the database (we're not importing config).
- Add new lines similar to
For more information on Tugboat, visit https://tugboat.qa/. Tugboat's pretty awesome 😍!