Development Setup
Before contributing, please read our Code of Conduct and Contributing Guidelines.
-
Clone the repository:
git clone https://github.com/SarthakMishra/codemap.git cd codemap
-
Install Prerequisites:
- Task: Follow the official installation guide: https://taskfile.dev/installation/
- uv: Follow the official installation guide: https://docs.astral.sh/uv/getting-started/installation/
- Python: Ensure you have Python 3.12 or later installed.
-
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
-
Install Dependencies: Install project dependencies, including development tools, using
uv
:# Installs dependencies from pyproject.toml including the 'dev' group uv sync --dev
-
Verify Setup: You can list available development tasks using Task:
To run all checks and tests (similar to CI):task -l
task ci
For detailed contribution guidelines, branching strategy, and coding standards, please refer to our Contributing Guide.