Skip to content

[Docs] Improve README with setup instructions for new contributorsΒ #112

@sarika-03

Description

@sarika-03

Current State

The README lacks clear setup and installation instructions for new contributors. Key missing information includes:

  • No prerequisites section (Node.js, npm, Git versions)
  • No step-by-step installation guide
  • Missing information about project structure (that code is in site/ directory)
  • No available npm scripts documentation
  • No troubleshooting section for common setup issues
  • Limited contribution workflow guidance for first-time contributors

This makes it difficult for newcomers to:

  • Set up the project locally (many try npm install in root instead of site/)
  • Understand which commands to run
  • Debug common issues like port conflicts or cache problems
  • Follow proper contribution workflow

Desired State

README should include comprehensive documentation with:

1. πŸš€ Getting Started Section

  • Prerequisites with version requirements (Node.js v16+, npm v8+, Git)
  • Clear installation steps showing cd site directory navigation
  • Commands to run: npm install β†’ npm start
  • Local server URL: http://localhost:8000

2. πŸ“‚ Project Structure

  • Visual folder tree showing organization
  • Highlighting key directories (site/src/components/ShapeBuilder/)
  • Clear indication where beginners should start

3. πŸ› οΈ Available Scripts

  • Table format with all npm commands and descriptions
  • npm start - Start development server
  • npm run build - Production build
  • npm run lint - Code quality checks
  • npm run clean - Clear cache

4. πŸ› Troubleshooting Section

  • Port 8000 already in use solution
  • Gatsby cache issues fix
  • Node version mismatch resolution
  • Common error messages with solutions

5. πŸ’‘ Enhanced Usage Instructions

  • Step-by-step guide to create custom shapes
  • Keyboard shortcuts table (Ctrl+Click, Ctrl+Z, Enter, etc.)
  • How to export and use coordinates in Meshery

6. 🀝 Improved Contributing Section

  • Complete fork β†’ clone β†’ branch workflow
  • Commit message format with examples
  • Sign-off requirements (git commit -s)
  • Branch naming conventions
  • PR creation process

Benefits:

  • Faster onboarding for new contributors
  • Reduced setup-related questions in community channels
  • Better alignment with CNCF project documentation standards
  • Improved first-time contributor experience

Contributor [Guides](https://docs.meshery.io/project/contributing) and [Handbook](https://layer5.io/community/handbook)

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions