|
@@ -5,17 +5,9 @@ In the future, this app will be used on Tauri's integration tests.
|
|
|

|
|
|
|
|
|
## Running the example
|
|
|
-- Install dependencies (Run inside of this folder tauri/examples/api/)
|
|
|
-```bash
|
|
|
-# with yarn
|
|
|
-$ yarn
|
|
|
-# with npm
|
|
|
-$ npm install
|
|
|
-```
|
|
|
-
|
|
|
-- Compile tauri
|
|
|
-go to root of the tauri repo and run
|
|
|
|
|
|
+- Compile Tauri
|
|
|
+go to root of the Tauri repo and run:
|
|
|
Linux / Mac:
|
|
|
```
|
|
|
# choose to install node cli (1)
|
|
@@ -27,7 +19,15 @@ Windows:
|
|
|
./.scripts/setup.ps1
|
|
|
```
|
|
|
|
|
|
-- Compile the app (Run inside of this folder tauri/examples/api/)
|
|
|
+- Install dependencies (Run inside of this folder `examples/api/`)
|
|
|
+```bash
|
|
|
+# with yarn
|
|
|
+$ yarn
|
|
|
+# with npm
|
|
|
+$ npm install
|
|
|
+```
|
|
|
+
|
|
|
+- Run the app in development mode (Run inside of this folder `examples/api/`)
|
|
|
```bash
|
|
|
# with yarn
|
|
|
$ yarn tauri dev
|
|
@@ -35,7 +35,8 @@ $ yarn tauri dev
|
|
|
$ npm run tauri dev
|
|
|
```
|
|
|
|
|
|
-- Run the app
|
|
|
+- Build an run the release app (Run inside of this folder `examples/api/`)
|
|
|
```bash
|
|
|
+$ yarn tauri build
|
|
|
$ ./src-tauri/target/release/app
|
|
|
```
|