Skip to content

A simple dev use case of build a sub-theme of drupal bootstrap storybook via lando.

Notifications You must be signed in to change notification settings

iijiang/drupal9_bootstrap_storybook_lando

Repository files navigation

Info

Drupal 9
Composer 2+
drush 10
php 7.3
Node 12
['boostrap_storybook'](https://www.drupal.org/project/bootstrap_storybook)

Usage

# Start lando drupal site
lando start

# Install dependencies
lando composer install
 or 
composer install (local composer, please ensure local composer version = lando composer version)

# Enable sub theme
lando drush theme:enable mysub

# Install node packages under custom theme
lando npm install -prefix web/themes/custom/mysub/

# Run browsersync
lando npm run watch -prefix web/themes/custom/mysub/

# Run browsersync and storybook
lando npm run crazy -prefix web/themes/custom/mysub/

Lando Usage examples

# Doing a drush site install
lando drush si --db-url=mysql://drupal9:drupal9@database/drupal9 -y

drupal9@database/drupal9 -y

# Run composer tests
lando composer test

# Drop into a mysql shell
lando mysql

# Check hte app's installed php extensions
lando php -m

About

A simple dev use case of build a sub-theme of drupal bootstrap storybook via lando.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published