$ yarn install
For running the python sidecar, you will need to install poetry.
Once you have poetry installed, you can install the python dependencies via:
$ poetry install
To compile the python sidecar as a binary:
$ yarn python
Assuming you are in the root project directory (refstudio
), you can run the Python tests and generate a coverage report by:
$ poetry run pytest --cov=python python/tests
This will generate the binary at src-tauri/bin/python
and append the appropriate target triple required by Tauri.
You should then be able to launch the app via:
$ yarn tauri:dev
To automatically open the browser devtools you can launch the app via:
$ yarn tauri:dev:debug