From 0ab2e11e3d9bfd086d996778ef8fe358c0e48f56 Mon Sep 17 00:00:00 2001 From: thewh1teagle <61390950+thewh1teagle@users.noreply.github.com> Date: Mon, 20 Nov 2023 13:48:06 +0200 Subject: [PATCH] Update README.md --- README.md | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index f9dd946..34d71a7 100644 --- a/README.md +++ b/README.md @@ -41,7 +41,18 @@ Scan the QR code with your smartphone and open the link. - [Node](https://nodejs.org/en/download/current) ### Development -To run in development, execute `cargo tauri dev`. +To run in development, +1. in both desktop and web folders execute `npm install` +2. execute `cargo tauri dev` in desktop folder +3. execute `npm run dev` in web folder + +A desktop app will open, +and for the "phone client" a local server will run on localhost:5173 + +In case you want to try in your phone execute in web folder: +```shell +npm run dev -- --host 0.0.0.0 +``` ### Building To build for the current platform, execute `cargo tauri build`. On Windows, this will build both NSIS and MSI installers. Both function identically and are located under `src-tauri/target/release/bundle/`.