Skip to content

Development Setup

Before contributing, please read our Code of Conduct and Contributing Guidelines.

  1. Clone the repository:

    git clone https://github.com/SarthakMishra/codemap.git
    cd codemap
    
  2. Install Prerequisites:

  3. Set up the Virtual Environment:

    # Create a virtual environment using uv (creates .venv directory)
    uv venv
    
    # Activate the virtual environment
    # On Linux/macOS (bash/zsh):
    source .venv/bin/activate
    # On Windows (Command Prompt):
    # .venv\Scripts\activate.bat
    # On Windows (PowerShell):
    # .venv\Scripts\Activate.ps1
    

  4. Install Dependencies: Install project dependencies, including development tools, using uv:

    # Installs dependencies from pyproject.toml including the 'dev' group
    uv sync --dev
    

  5. Verify Setup: You can list available development tasks using Task:

    task -l
    
    To run all checks and tests (similar to CI):
    task ci
    

For detailed contribution guidelines, branching strategy, and coding standards, please refer to our Contributing Guide.