Running Pyra manually
Install dependencies
Dependency management uses PDM. pdm install --dev installs all dependencies in the currently activated interpreter environment.
Pyra Core
Normally, Pyra should be started via the CLI:
pyra-cli core start
pyra-cli core is-running
pyra-cli core stop
The start command will execute python run-pyra-core.py in a background process.
Upload/Helios threads
In Pyra Core's regular operation, it will start and stop Upload and Helios in dedicated threads. These threads will write their output into the Core's log files. You can run these two threads in headless mode (without Pyra Core), and they will print all of their logs to the console:
python run-headless-helios-thread.py
python run-headless-upload-thread.py
Building the frontend
Inside the packages/ui directory:
yarnwill install all dependenciesyarn tauri devwill start a development server (with hot reload)yarn tauri buildwill bundle the Tauri application and put the installer for your operating system into thepackages/ui/src-tauri/target/release/bundledirectory
Building the documentation
Inside the packages/docs directory:
yarnwill install all dependenciesyarn developwill start a development server (with hot reload)yarn buildwill render the static HTML and bundle the SPA into thepackages/docs/builddirectory