Skip to content

SETUP.md and TESTING.md updates for first-time success - #51089

Merged
snickell merged 14 commits into
stagingfrom
fix-setup.md-on-macos
Apr 19, 2023
Merged

SETUP.md and TESTING.md updates for first-time success#51089
snickell merged 14 commits into
stagingfrom
fix-setup.md-on-macos

Conversation

@snickell

@snickell snickell commented Apr 4, 2023

Copy link
Copy Markdown
Contributor

Patchups to SETUP.md and TESTING.md to make the instructions work for first-timers, particularly on macOS Monterey.

Links

Testing story

Deployment strategy

Follow-up work

Privacy

Security

Caching

PR Checklist:

  • Tests provide adequate coverage
  • Privacy and Security impacts have been assessed
  • Code is well-commented
  • New features are translatable or updates will not break translations
  • Relevant documentation has been added or updated
  • User impact is well-understood and desirable
  • Pull Request is labeled appropriately
  • Follow-up work items (including potential tech debt) are tracked and linked

snickell added 2 commits April 3, 2023 16:12
Add explicit step in setup.md to exclude staging, test, production
and levelbuilder groups from Gemfile.
@snickell snickell changed the title Update SETUP.md to fix ordering issue and for macOS Monterey Update SETUP.md for first-time setup on macOS Monterey Apr 4, 2023
Comment thread SETUP.md Outdated
Comment thread SETUP.md

@davidsbailey davidsbailey left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Thanks for making this improvement, Seth! The scenario of installing from scratch definitely slipped through the cracks when we looked at this last.

snickell added 5 commits April 4, 2023 09:33
Currently listed as a response to an error message, a little buried.
Promoted to an early step so request is made early and other work can continue while waiting.
@snickell
snickell requested a review from mgc1194 April 5, 2023 22:57
@snickell

snickell commented Apr 6, 2023

Copy link
Copy Markdown
Contributor Author

TY for help getting my build going 🎉

I’ve moved on to TESTING.md. It appears that the dashboard tests require mini_racer, so if a working dev setup for dashboard entails running tests (probably? lmk if not), working around installing mini_racer on mac may not get us/me all the way.

Long-term:
@davidsbailey has a jira issue open for the “install node on prod” long-term fix: see https://codedotorg.atlassian.net/browse/INF-708 and #47788

Short-term:
Perhaps the easiest workaround for SETUP.md, pending resolution of the jira issue, would be to suggest mac devs maintain an unstaged change bumping the mini_racer version in Gemfile.lock to 0.5.0? Its ugly, but its probably (?) better to acknowledge ugly and have setup instructions that get new devs all the way.

Thoughts?

@snickell snickell changed the title Update SETUP.md for first-time setup on macOS Monterey SETUP.md and TESTING.md updates for first-time success Apr 6, 2023
snickell added 4 commits April 5, 2023 14:27
For consistency, some commands were prefixed, some weren't. All need it.
Include link to initial seeding required for dash tests.

@mgc1194 mgc1194 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Looks Great, less confusing and easier to follow!

@snickell
snickell merged commit 138d08a into staging Apr 19, 2023
@snickell
snickell deleted the fix-setup.md-on-macos branch April 19, 2023 02:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants