Skip to content

whatphilipcodes/knoto

Repository files navigation

logo   knoto

Website

coming soon...

Prerequisites

  • rust (tauri runtime)

    for macOS use homebrew

    brew install rustup

    for windows use scoop

    scoop install main/rustup

    this project was built using rust 1.82.0, feel free to try newer stable versions

    rustup install 1.82.0
    rustup default 1.82.0

    for more in-depth OS specific information refer to the tauri docs

  • node (frontend runtime)

    for macOS use homebrew

    brew install node
    brew install pnpm

    for windows use scoop

    scoop install main/nodejs-lts
    scoop install nodejs-lts pnpm
  • python (backend runtime)

    for macOS use homebrew

    brew install python@3.12

    for windows use scoop

    scoop install python@3.12
  • poetry (py env management)

    it is remommended to use pipx to install poetry

    pipx

    for macOS use homebrew

    brew install pipx
    pipx ensurepath

    for windows use scoop

    scoop install pipx
    pipx ensurepath

    poetry

    pipx install poetry

Installation

  • required

    create the python env and install the dependencies

    poetry install

    download the frontend dependencies

    pnpm install

Debugging

Be aware that even though running the dev command will put executable files into the ./src-tauri/target/debug directory, these artifacts cannot be run. To generate an actual usable debug build in that location, run the debug-build command first. For more information on debugging in Tauri in general refer to the tauri docs.