3 terminals are required. 1 for node, 1 for quasar, 1 for tauri.
Things to keep in mind:
- Desktop app initiates the connection to the node when the app starts. So basically, we are making 2 connections with the node (1 for desktop app, 1 for farmer)
- make sure no other node is running, otherwise address conflict happens
- move to the
subspace
repo in the terminal cargo run --release --bin subspace-node -- --dev --tmp
Note: tauri can connect to an online node as well, but finding a block in that setting may take too much time if we start from an empty plotting. If you don’t want to mess with your current plotting, trying dev environment can be a good temporary solution.
- move to the
subspace-desktop
repo in the terminal yarn quasar dev
- move to the
subspace-desktop
repo in the terminal - If there has been a change in the subspace repo, it’s best to:
- move to
src-tauri
- run
cargo update
- go back to
subspace-desktop
root yarn tauri dev