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

Update install docs #157

Merged
merged 4 commits into from
May 12, 2023
Merged

Update install docs #157

merged 4 commits into from
May 12, 2023

Conversation

victorlin
Copy link
Member

@victorlin victorlin commented May 9, 2023

Description of proposed changes

Updating the installation docs given recent runtime improvements. See commit messages.

Previews:

Related issue(s)

Testing

  • Checks pass

@victorlin victorlin self-assigned this May 9, 2023
@victorlin victorlin requested a review from a team May 9, 2023 23:56
Copy link
Member

@tsibley tsibley left a comment

Choose a reason for hiding this comment

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

+1 for this direction. Would be good to get thoughts from others as well about it, though.

src/install.rst Show resolved Hide resolved
src/snippets/ambient-setup.rst Outdated Show resolved Hide resolved
src/snippets/ambient-setup.rst Outdated Show resolved Hide resolved
src/reference/faq.rst Outdated Show resolved Hide resolved
src/reference/faq.rst Outdated Show resolved Hide resolved
src/reference/faq.rst Outdated Show resolved Hide resolved
src/reference/faq.rst Outdated Show resolved Hide resolved
src/reference/faq.rst Show resolved Hide resolved
src/reference/faq.rst Outdated Show resolved Hide resolved
src/reference/faq.rst Show resolved Hide resolved
New users are more likely to want to interface with augur via an
interactive shell than a Snakemake workflow, so it makes sense to show
how to do that at the end of installation.
@victorlin victorlin force-pushed the victorlin/update-install-docs branch 4 times, most recently from a651379 to 675e98d Compare May 10, 2023 22:13
@victorlin victorlin requested a review from tsibley May 10, 2023 22:21
Comment on lines +79 to +80
Why do I get an error when installing to my Conda environment on a Mac computer with Apple silicon (e.g. M1)?
-------------------------------------------------------------------------------------------------------------
Copy link
Member Author

Choose a reason for hiding this comment

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

I thought about this some more and came up with nextstrain/bioconda-recipes#3.

Copy link
Member

@jameshadfield jameshadfield left a comment

Choose a reason for hiding this comment

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

Also +1 for this direction.

My feeling is that our docs (and perhaps software) need to make it clearer what runtime one is using. It's implicit in many of these pages that one knows the answer to that question. In that linked slack thread Tom says "I've been wanting to more fully document and compare/contrast the runtimes for a bit" so perhaps it's better to not tackle this too much in this PR.

src/guides/manage-installation.rst Show resolved Hide resolved

When completed, you'll be ready to run Nextstrain :term:`workflows <workflow>`.


Copy link
Member

Choose a reason for hiding this comment

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

I'd add a link up here (as well as at the bottom of the page) linking out to "Manage installation" -- the two pages are somewhat separated in the sidebar and I presume many people would come to this page first.

Copy link
Member Author

Choose a reason for hiding this comment

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

There is already a link at the bottom of the page, and I've moved the table of contents a little lower (force-push). It has a link to the section which links to the "manage installation" page, which I think is sufficient.

I don't love it, but the placement of the "Manage installation" page in the sidebar is the best I could think of. Let me know if you have a better suggestion.

Copy link
Member

Choose a reason for hiding this comment

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

Thanks!

I don't love it, but the placement of the "Manage installation" page in the sidebar is the best I could think of. Let me know if you have a better suggestion.

I don't think there's a perfect way to order the sidebar. At least, I've never found one.

src/reference/faq.rst Show resolved Hide resolved
src/install.rst Outdated Show resolved Hide resolved
Copy link
Member

@tsibley tsibley left a comment

Choose a reason for hiding this comment

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

+1 with the changes @jameshadfield asked for, with which I concur.

@victorlin victorlin force-pushed the victorlin/update-install-docs branch 2 times, most recently from 427b38c to 4366c1b Compare May 11, 2023 21:13
This keeps the installation page to a minimum, so new users will not be
inclined to skip over anything.

Also, improve the sectioning on the installation page and add table of
contents to both pages.
This is an opinionated change, but should better help users decide which
runtime to use.

With the increased maturity of managed runtimes, the ambient runtime is
now at a place where it should only be used by people familiar with
managing their own Conda environments.

Notable changes:

- Add a note that familiarity with Conda is a prerequisite to the
  example ambient runtime setup steps.
- Remove Miniconda and Mamba setup instructions.
- Update all "custom Conda environment" references to be generic for any
  Conda environment.
- Repurpose an FAQ entry around limitations of emulation on Apple
  silicon.

I'm hopeful that users who have previously followed the ambient/native
runtime setup instructions have gained enough Conda familiarity to know
that "nextstrain" is the name of their custom Conda environment, so they
can continue to reference the newer installation docs for other
installation-related instructions.
@victorlin victorlin force-pushed the victorlin/update-install-docs branch from 4366c1b to bb94772 Compare May 11, 2023 23:21
@victorlin victorlin merged commit 27e5f6d into master May 12, 2023
@victorlin victorlin deleted the victorlin/update-install-docs branch May 12, 2023 17:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
No open projects
Development

Successfully merging this pull request may close these issues.

Add instructions for users who have already installed Conda
3 participants