Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
thewh1teagle committed Nov 20, 2023
1 parent eab1c6d commit 0ab2e11
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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/<msi or nsis>`.

0 comments on commit 0ab2e11

Please sign in to comment.