File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- # PyTauri + Vanilla TS
1+ # PyTauri + NiceGui
22
3- ``` bash
4- cd examples/nicegui-app
5- ```
6-
7- and follow the tutorial section in Documentation.
8-
9- ** NOTE** : ** When using ` tauri dev ` , you must pass ` --no-dev-server-wait ` ** , because the uvicorn server only starts after running the executable.
3+ > Make sure you have already installed ` rust ` , ` Python ` , ` uv ` , Tauri Prerequisites.
4+ >
5+ > You can find that in tutorial section in PyTauri Documentation.
106
11- ---
7+ Clone this repository and ` cd ` into it first.
128
13- or you are hurry, just wanna see/run the demo:
14-
15- > Make sure you have already installed ` rust ` , ` uv ` , ` pnpm ` , ` node.js ` and Tauri Prerequisites.
16- >
17- > > Because you have directly pulled the development repository, you need ` pnpm ` to manually build frontend assets.
18- > >
19- > > In actual use, this step has already been completed for ` pytauri ` on ` crates.io ` , which means only ` rust ` and ` python ` are required.
20- >
21- > You can find that in tutorial section in Documentation.
9+ ## Standalone
2210
2311``` bash
24- git clone https://github.com/WSH032/pytauri.git
25- cd pytauri
26-
27- cd examples/nicegui-app
12+ cargo tauri dev --no-dev-server-wait
13+ ```
2814
29- # build frontend assets
30- pnpm install
31- pnpm -r run build
15+ ## Python
3216
17+ ``` bash
3318# activate virtual environment
34- uv venv
19+ uv venv --python-preference only-system
3520source .venv/bin/activate
3621# or powershell: .venv\Scripts\Activate.ps1
3722
You can’t perform that action at this time.
0 commit comments