Skip to content

Official Step by Step Guide is missing some information #783

Open
@friedinando

Description

@friedinando

Package containing the bug

I’m not sure

Describe the bug

The info published in: https://next-drupal.org/learn/quick-start/create-nexts-project is missing some information in case of ddev installations:


Before continuing, configure the Next.js site from the Drupal admin panel by navigating to /admin/config/services/next. Press ‘Add Next.js site’ and follow the instructions. Additionally, to generate DRUPAL_CLIENT_ID and DRUPAL_CLIENT_SECRET, you can retrieve them from /admin/config/services/consumer.

Now create .env.local file in your Next.js project and duplicate the contents of .env.example into it. Be sure to update constants like NEXT_PUBLIC_DRUPAL_BASE_URL with your Drupal URL. You can retrieve these variables from the Drupal site's admin panel at admin/config/services/next since we have already added the Next.js site. Simply press "environment variables" and copy the content.

Please add the following line to your .env file:

NODE_TLS_REJECT_UNAUTHORIZED=0


Info extracted from: https://medium.com/@EleneSh/why-you-should-use-drupal-with-next-js-and-how-to-get-started-6a91cecd772a

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingtriageA new issue that needs triage

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions