Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Official Step by Step Guide is missing some information #783

Open
friedinando opened this issue Jun 19, 2024 · 0 comments
Open

Official Step by Step Guide is missing some information #783

friedinando opened this issue Jun 19, 2024 · 0 comments
Labels
bug Something isn't working triage A new issue that needs triage

Comments

@friedinando
Copy link

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

@friedinando friedinando added bug Something isn't working triage A new issue that needs triage labels Jun 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working triage A new issue that needs triage
Projects
None yet
Development

No branches or pull requests

1 participant