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

chore(na) Simplify macos steps to always build couchdb image #1285

Merged
merged 2 commits into from
Feb 7, 2024

Conversation

mrjones-plip
Copy link
Contributor

@mrjones-plip mrjones-plip commented Feb 6, 2024

Description

This PR reduced the number of manual steps that Apple Silicon users need to take when setting up the CHT Core dev env. While it sends both Intel and Apple Silicon user through these steps, it's a safe abstraction (technically all users could take this route).

The npm run local-images is a very heavy call, building every image for every service. We only want the couchDB one. As well, we don't want different env vars and docker files for macOS folks - this PR keeps all that standard.

With less steps and less setup needed, I believe this will mean more success for new devs first getting setup!

License

The software is provided under AGPL-3.0. Contributions to this project are accepted under the same license.

@mrjones-plip mrjones-plip requested review from esthermmoturi and andrablaj and removed request for esthermmoturi February 6, 2024 19:23
@mrjones-plip
Copy link
Contributor Author

@JenniferMuli @esthermmoturi and @andrablaj - I know you both have been working on this so mentioning y'all for awareness of this change. I also note this was a recent change to the docs and there's an active forum post discussing this!

@mrjones-plip mrjones-plip changed the title chore(na) Simplify macos steps to always build couchdb image (will work with both intel and apple silicon) chore(na) Simplify macos steps to always build couchdb image Feb 6, 2024
Copy link
Member

@andrablaj andrablaj left a comment

Choose a reason for hiding this comment

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

This is so much simpler and faster now, thanks @mrjones-plip! 👏 I have a small comment, but otherwise everything worked correctly.

I committed directly the removal of some text mentioning Apple Silicon section, I hope that's OK.

Copy link
Member

@andrablaj andrablaj left a comment

Choose a reason for hiding this comment

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

Cool, this works out of the box if the reader follows the guide and clones cht-core to ~/. I skipped that step as I had already the repo cloned elsewhere, hence the need for me to edit the path mentioned above.

Copy link
Member

@andrablaj andrablaj left a comment

Choose a reason for hiding this comment

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

:shipit:

@mrjones-plip mrjones-plip merged commit 5738161 into main Feb 7, 2024
2 checks passed
@mrjones-plip mrjones-plip deleted the simplify-apple-silicon branch February 7, 2024 16:56
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.

2 participants