/refstudio

Reference Studio

Primary LanguageTypeScriptApache License 2.0Apache-2.0

Reference Studio

Setup

$ yarn install

Python

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.

Development

You should then be able to launch the app via:

$ yarn tauri:dev

Debug

To automatically open the browser devtools you can launch the app via:

$ yarn tauri:dev:debug