Skip to content

Update README.md to be more clear for local setup #1725

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
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

udogabrieludo
Copy link

@udogabrieludo udogabrieludo commented May 20, 2025

This is the changes to help developers to setup Liam easily on their local environment.

Issue

  • resolve:

Why is this change needed?

What would you like reviewers to focus on?

Testing Verification

What was done

🤖 Generated by PR Agent at ee3e50e

  • Added detailed local setup instructions to README.md
  • Included step-by-step commands for cloning and running the project
  • Clarified development and production build processes

Detailed Changes

Relevant files
Documentation
README.md
Add comprehensive local setup guide to README                       

README.md

  • Added a new section with step-by-step local setup instructions
  • Provided explicit commands for cloning, installing, and running the
    project
  • Clarified both development and production build processes
  • Enhanced guidance for developers setting up locally
  • +28/-0   

    Additional Notes


    Need help?
  • Type /help how to ... in the comments thread for any questions about Qodo Merge usage.
  • Check out the documentation for more information.
  • This is the changes to help developers to setup Liam easily on their local environment.
    @udogabrieludo udogabrieludo requested a review from a team as a code owner May 20, 2025 20:06
    @udogabrieludo udogabrieludo requested review from hoshinotsuyoshi, FunamaYukina, junkisai, MH4GF and NoritakaIkeda and removed request for a team May 20, 2025 20:06
    Copy link

    changeset-bot bot commented May 20, 2025

    ⚠️ No Changeset found

    Latest commit: ee3e50e

    Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

    This PR includes no changesets

    When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

    Click here to learn what changesets are, and how to add one.

    Click here if you're a maintainer who wants to add a changeset to this PR

    Copy link

    vercel bot commented May 20, 2025

    @udogabrieludo is attempting to deploy a commit to the ROUTE06 Core Team on Vercel.

    A member of the Team first needs to authorize it.

    Copy link
    Contributor

    PR Reviewer Guide 🔍

    Here are some key observations to aid the review process:

    ⏱️ Estimated effort to review: 1 🔵⚪⚪⚪⚪
    🧪 No relevant tests
    🔒 No security concerns identified
    ⚡ No major issues detected

    Copy link
    Contributor

    PR Code Suggestions ✨

    No code suggestions found for the PR.

    Comment on lines +53 to +62
    Follow these steps to set up Liam ERD locally

    ```bash
    git clone https://github.com/liam-hq/liam.git
    ```
    Navigate to the project directory:

    ```bash
    cd liam
    ```
    Copy link
    Member

    Choose a reason for hiding this comment

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

    @udogabrieludo

    Thanks for the update! A couple of questions about the changes:

    • Is cloning the repo via git clone really necessary for most users? Since npx @liam-hq/cli init is designed to work without cloning the repo, I wonder if we might be adding extra steps here.
    • Also, was there any specific issue with using just npx @liam-hq/cli init on its own? If so, could you share the context or error? That would be super helpful.

    Let me know what you think! Thanks again for contributing.

    Copy link
    Author

    Choose a reason for hiding this comment

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

    @hoshinotsuyoshi

    Thanks for the quick response and for reviewing the update!

    You're right the npx @liam-hq/cli init command runs successfully. However, in my experience, it doesn’t create or visibly show any folder afterward, which can be confusing especially for new users. Additionally, there isn’t much guidance or feedback in the terminal about what to do next. The "Next Steps" command that appears in the terminal actually threw an error when I tried to run it.

    In contrast, when I cloned the repo manually, the structure was clearer and I was able to set it up with more confidence. I believe many developers, particularly those exploring Liam ERD for the first time, might encounter the same uncertainty.

    That’s why I thought including the repo cloning step could help bridge that initial clarity gap. That said, I’m definitely open to better solutions if there’s a more streamlined approach!

    I've attached a screenshot for context.

    Screenshot 2025-05-23 at 13 13 19
    Screenshot 2025-05-23 at 13 27 06

    Copy link
    Member

    Choose a reason for hiding this comment

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

    @udogabrieludo

    Thank you for sharing the VS Code screenshot and your thoughts!

    You're right — the npx @liam-hq/cli init command runs successfully.

    We appreciate the confirmation!

    If that flow works, then we want to emphasize that we’re strongly against requiring Git for users who simply want to use the CLI. We’d prefer not to recommend git clone as part of the normal usage instructions (though it's fine for things like CONTRIBUTING.md !).

    On the other hand, based on the error screen you shared, we agree that when the path provided via --input does not exist, the npx liam-hq/cli erd build command currently throws a stack trace — and that’s definitely something we’d like to fix. We plan to handle this in a separate issue.
    Q1: Do you think fixing that problem would significantly improve the experience?

    As for pnpm run build and pnpm run dev, we consider those developer-facing commands, intended for those who want to modify or contribute to the tool itself.
    Q2: If you found them helpful for working on your own ER diagram, could you kindly share more details on how you used them? That might be very insightful for us!

    Copy link
    Member

    Choose a reason for hiding this comment

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

    However, in my experience, it doesn’t create or visibly show any folder afterward, which can be confusing especially for new users.

    That’s another great point you’ve raised — I agree it could be confusing.

    Open to suggestions — does anyone have thoughts on how to make this better?

    Copy link
    Member

    Choose a reason for hiding this comment

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

    On the other hand, based on the error screen you shared, we agree that when the path provided via --input does not exist, the npx liam-hq/cli erd build command currently throws a stack trace — and that’s definitely something we’d like to fix. We plan to handle this in a separate issue.

    created an issue: #1791

    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
    Projects
    None yet
    Development

    Successfully merging this pull request may close these issues.

    2 participants