File tree Expand file tree Collapse file tree 1 file changed +11
-26
lines changed Expand file tree Collapse file tree 1 file changed +11
-26
lines changed Original file line number Diff line number Diff line change 1
- # PyTauri + Vanilla TS
1
+ # PyTauri + NiceGui
2
2
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.
10
6
11
- ---
7
+ Clone this repository and ` cd ` into it first.
12
8
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
22
10
23
11
``` 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
+ ```
28
14
29
- # build frontend assets
30
- pnpm install
31
- pnpm -r run build
15
+ ## Python
32
16
17
+ ``` bash
33
18
# activate virtual environment
34
- uv venv
19
+ uv venv --python-preference only-system
35
20
source .venv/bin/activate
36
21
# or powershell: .venv\Scripts\Activate.ps1
37
22
You can’t perform that action at this time.
0 commit comments