Skip to content

Commit 0dc89f8

Browse files
committed
add script to start up applicaton
1 parent c8e1b19 commit 0dc89f8

File tree

3 files changed

+48
-0
lines changed

3 files changed

+48
-0
lines changed

.github-task-workflow.state.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
{"issue_number": null, "status": "local-only", "task_file": "tasks/analysis/use-cases.md", "started": "2026-04-11T00:00:00Z"}

start-desktop.sh

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
#!/usr/bin/env bash
2+
set -e
3+
4+
# Innate Desktop - Tauri + Vite (Mac/Linux)
5+
6+
echo "Starting Innate Desktop..."
7+
8+
SCRIPT_DIR="$(cd "$(dirname "$0")" && pwd)"
9+
DESKTOP_DIR="$SCRIPT_DIR/apps/desktop"
10+
11+
# Ensure Rust/Cargo is in PATH
12+
if [ -f "$HOME/.cargo/env" ]; then
13+
source "$HOME/.cargo/env"
14+
fi
15+
16+
cd "$DESKTOP_DIR"
17+
18+
# Install dependencies
19+
npm install
20+
21+
# Start Tauri dev server
22+
npx tauri dev

start-playground.sh

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
#!/usr/bin/env bash
2+
set -e
3+
4+
# Innate Playground - Tauri + Next.js (Mac/Linux)
5+
6+
echo "Starting Innate Playground..."
7+
8+
SCRIPT_DIR="$(cd "$(dirname "$0")" && pwd)"
9+
PLAYGROUND_DIR="$SCRIPT_DIR/playground"
10+
DESKTOP_DIR="$PLAYGROUND_DIR/apps/desktop"
11+
12+
# Ensure Rust/Cargo is in PATH
13+
if [ -f "$HOME/.cargo/env" ]; then
14+
source "$HOME/.cargo/env"
15+
fi
16+
17+
cd "$PLAYGROUND_DIR"
18+
19+
# Install dependencies
20+
pnpm install
21+
22+
cd "$DESKTOP_DIR"
23+
24+
# Start Tauri dev server
25+
npx tauri dev

0 commit comments

Comments
 (0)