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

docs: Update Drupal 9 & 10 CMS Quickstarts #5733

Merged
merged 3 commits into from Jan 26, 2024
Merged

Conversation

Nick-Hope
Copy link
Contributor

The Issue

ddev drush uli generates a one-time link to the page for editing the uid1 (admin) account details. If the site is opened with that, there is no need to also run ddev launch, so that is confusing.

How This PR Solves The Issue

Add instructions on how to open the link generated by ddev drush uli. Remove ddev launch from the initial instructions but refer to its use for further site visits.

An alternative would be to drop the ddev drush uli line, but then the user would not be logged in when ddev launch is run.

`ddev drush uli` generates a one-time link to the page for editing the uid1 (admin) account details. If the site is opened with that, there is no need to also run `ddev launch`, so that is confusing.

Hence, adding instructions on how to open the link generated by `ddev drush uli`, followed by a reference to `ddev launch` for further visits.
@Nick-Hope Nick-Hope requested a review from a team as a code owner January 24, 2024 09:08
Copy link
Member

@stasadev stasadev left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you, I think this is a reasonable improvement 👍

@tyler36
Copy link
Collaborator

tyler36 commented Jan 24, 2024

A side note:

All the other quickstart guides result in the launch of website.
This change would result in a link displayed in the terminal.

For consistency, I would prefer to see the quickstart guide end with ddev launch. Followed by a comment below that shares the ddev drush uli tip.

Copy link
Member

@stasadev stasadev left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@tyler36 I agree with standardization.

@Nick-Hope, maybe it can be written like this:

# use the one-time link (CTRL/CMD + Click) from the command below to edit your admin account details.
ddev drush uli
ddev launch

Revert to having `ddev launch` as the last command, but add comment above `ddev drush ul`.
@Nick-Hope
Copy link
Contributor Author

A number of approaches here would be acceptable. Decided the @stasadev suggestion was as good as any.

@stasadev stasadev merged commit 7403ef4 into ddev:master Jan 26, 2024
10 checks passed
@Nick-Hope Nick-Hope deleted the patch-2 branch January 27, 2024 03:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants