From dbe172de26d6e042b27957c407de183c7c888b9a Mon Sep 17 00:00:00 2001 From: Sidhin S Thomas Date: Thu, 4 Apr 2024 19:34:04 +0530 Subject: [PATCH] Add build details to desktop application README.md --- desktop/README.md | 30 ++++++++++++++++++++++++++++-- 1 file changed, 28 insertions(+), 2 deletions(-) diff --git a/desktop/README.md b/desktop/README.md index 102e3668..35e60608 100644 --- a/desktop/README.md +++ b/desktop/README.md @@ -1,7 +1,33 @@ -# Tauri + React + Typescript +# rqbit GUI Application -This template should help get you started developing with Tauri, React and Typescript in Vite. +This is a thin tauri wrapper for the web ui of rqbit. ## Recommended IDE Setup - [VS Code](https://code.visualstudio.com/) + [Tauri](https://marketplace.visualstudio.com/items?itemName=tauri-apps.tauri-vscode) + [rust-analyzer](https://marketplace.visualstudio.com/items?itemName=rust-lang.rust-analyzer) + +## Dependencies + +* Tauri CLI. + +``` +cargo install tauri-cli +``` + +* Nodejs and NPM + +## How to build GUI + +* Go to `rqbit/crates/librqbit/webui` + + ``` + npm install + npm run build + ``` + +* Go to `rqbit/desktop` + + ``` + npm install + cargo tauri dev + ```