Skip to content
This repository has been archived by the owner on Oct 8, 2023. It is now read-only.

Latest commit

 

History

History
31 lines (25 loc) · 831 Bytes

README.md

File metadata and controls

31 lines (25 loc) · 831 Bytes

Setup

  1. lando start
  2. Navigate to: https://decoupled.lndo.site
  3. Install Drupal with "Standard" profile
  4. Enter database credentials:
  • Username: drupal10
  • Password: drupal10
  • Database: drupal10
  • Host: database
  1. lando drush en next_jsonapi admin_toolbar_tools -y
  2. Add a pathauto pattern alias for Articles as blog/[node:title]
  3. Create an Article
  4. Copy the contents of the .env.local example below into next
  5. lando next
  6. Navigate to: http://next.decoupled.lndo.site
  7. lando storybook
  8. Navigate to: http://storybook.decoupled.lndo.site

.env.local

# See https://next-drupal.org/docs/environment-variables
NEXT_PUBLIC_DRUPAL_BASE_URL=https://decoupled.lndo.site
NEXT_IMAGE_DOMAIN=decoupled.lndo.site

# Required for On-demand Revalidation
DRUPAL_REVALIDATE_SECRET=secret