Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

docs: simplify and clarify installation instructions #10674

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

Open
duyaan wants to merge 3 commits into marmelab:master
base: master
Choose a base branch
Loading
from duyaan:improve-installation-doc

Conversation

Copy link

@duyaan duyaan commented Apr 16, 2025
edited by fzaninotto
Loading

Problem

The current installation instructions in the documentation rely solely on npm install react-admin, which can cause issues or confusion, especially for beginners. Several users (including students) reported difficulties setting up the project this way. The current method is also missing a quick-start guide for local development.

Solution

This PR updates the documentation (README.md) and adds a CONTRIBUTING.md file with a simplified installation workflow:

git clone
yarn install
cd react-admin
yarn run-simple
This method is easier to follow, faster to execute, and resolves issues some users encountered with npm-based installs.

How To Test

Clone the repo using the new instructions.
Run yarn install, then cd react-admin and yarn run-simple.
Confirm the app starts successfully and mirrors expected behavior.

Additional Checks

  • The PR targets master for a bugfix or a documentation fix, or next for a feature
  • The PR includes unit tests (if not possible, describe why)
  • The PR includes one or several stories (if not possible, describe why)
  • The documentation is up to date

Also, please make sure to read the contributing guidelines.

Closes #10673

@@ -0,0 +1,12 @@
# Contributing to [Project Name]
Copy link
Member

@fzaninotto fzaninotto Apr 16, 2025

Choose a reason for hiding this comment

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

It's a good idea to add a Contributing guide, but this one is too generic. Also, the relevant content is already in the readme.

@@ -24,16 +24,16 @@ A frontend Framework for building single-page applications running in the browse

* 👨‍👩‍👧‍👦 Powered by [Material UI](https://mui.com/material-ui/getting-started/), [react-hook-form](https://react-hook-form.com), [react-router](https://reacttraining.com/react-router/), [react-query](https://tanstack.com/query/latest/docs/framework/react/overview), [TypeScript](https://www.typescriptlang.org/) and a few more

## Installation
### Installation (Simplified)
Copy link
Member

@fzaninotto fzaninotto Apr 16, 2025

Choose a reason for hiding this comment

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

No, you're replacing the installation instructions for users by installation instructions for contributors. Instead, you should clarify that the installation instructions are for users, and leave the instructions unchanged.

Copy link
Author

duyaan commented Apr 17, 2025

Hi @fzaninotto 👋

Thanks again for the feedback!

I’ve updated the CONTRIBUTING.md file based on your comments. I also wanted to explain the intention behind the changes a bit more clearly:

I’ve been collecting feedback and documentation-related issues — especially those raised by newcomers and students — and noticed recurring problems mentioned in issues like #10662 and #10634. These issues highlight areas where users are encountering setup errors or confusion, particularly during local development and installation.

Since some of these issues (e.g., errors in the current setup video) might take time to resolve or recreate, I thought adding a quick and updated section to the documentation would be helpful in the meantime. The goal is to make the onboarding process smoother for contributors and new users alike, without interfering with the core user installation instructions.

Copy link
Member

I understand your concern but the solution you propose doesn't work for us:

  1. You're using generic content in Contributing
  2. You're including a super specific gotcha in contributing that has nothing to do with first time contributors
  3. You're degrading the README for non-contributors.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Reviewers

@fzaninotto fzaninotto fzaninotto requested changes

Assignees
No one assigned
Labels
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

Simplify Installation Instructions for Better Onboarding Experience ( Documentation / Installation )

AltStyle によって変換されたページ (->オリジナル) /