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

cruno91/next-drupal-test

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

69 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published