-
Notifications
You must be signed in to change notification settings - Fork 579
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 building.md with updated instructions, point README to building.md #4004
Conversation
537cac8
to
3f2613d
Compare
3f2613d
to
61f06ae
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I like the general approach 👍
Merging this without integrating fixes for my comments would be okay as well and we can iterate from there.
e341f2d
to
eada617
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great job. Nice to put the build and test instructions in one place. And only good to see README.md
becoming a bit shorter which will increase the likelihood that people will actually read it.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice work Tom! The docs just keep getting better and better :D
|
||
This is one suggested workflow for testing your local changes to Realm JS against two sample apps, making use of a script to automatically copy any changes from the `realm-js` project into the two sample projects. | ||
|
||
## Sample projects for testing changes |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think we could highlight our React Native templates in here.
npx react-native init TsExample --template react-native-template-realm-ts
#or
npx react-native init JsExample --template react-native-template-realm-js
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I wonder if this is the right place for highlighting them, given that this document is very specific to this flow with the watch script. Perhaps we could mention them in README.md
more generally, and then a future enhancement is to rewrite the guide on development workflow, what do you think?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
How about this change to the README? 02ad469
cc2afe0
to
dac007d
Compare
22a1d97
to
02ad469
Compare
What, How & Why?
The existing instructions on how to setup and build the project are out of date, and are somewhat duplicated between
README.md
andbuilding.md
, each with slightly different methods of doing things.This PR moves all the instructions into
building.md
and points to that from the README, and updates the instructions to reflect changes in the way the app should now be built – e.g. using the scripts rather than invoking Gradle directly, some homebrew related changes as packages have moved, etc. The instructions have also been tidied up a bit so they are in a logical order.This should ensure that new contributors have a smoother onboarding experience.
Note to reviewers: reading through the complete, rendered
building.md
using "View File" is probably easier than comparing the diffs!☑️ ToDos
Compatibility
label is updated or copied from previous entryBreaking
label has been applied or is not necessary