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/files
directory.
- 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.sql
gzip olivero-db.sql
- Then upload the file to the Dropbox folder above.
- Modify the
PRELOADED_DB_DUMP
Tugboat environment setting
- To generate the files zip file
cd
intosites/default/files
- run
zip path/to/zipfile.zip -r *
- Upload the file into the Dropbox folder above.
- Modify the
PRELOADED_FILES_ZIP
Tugboat environment setting
- To add modules
- Add new lines similar to
composer require drupal/webform^6
into line 100(ish) at within this repository's.tugboat/config.yml
file. - 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 😍!