Skip to content

Getting Started

This tutorial will guide you through setting up and running the Python Template project.

This project is intended to be used with nix and direnv. If you have these tools set up, simply opening a terminal in the project folder will perform all the necessary setup steps for you, including installing dependencies and pre-commit hooks :)

Steps

  1. Clone the repository:
    git clone <repository-url>
    cd rust-template
    

If you are not using nix and direnv, follow these steps to setup the project

Steps

  1. Clone the repository:

    git clone <repository-url>
    cd rust-template
    

  2. Create a virtual environment (for the python helper tools):

    uv venv
    source .venv/bin/activate
    

  3. Install python helper dependencies:

    uv pip install -r pyproject.toml --all-extras
    

  4. Install pre-commit hooks:

    pre-commit install
    

  5. Install rust dependencies:

    cargo build