-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathlaunch-guide.tsx
More file actions
98 lines (89 loc) · 3.1 KB
/
Copy pathlaunch-guide.tsx
File metadata and controls
98 lines (89 loc) · 3.1 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
import React from 'react';
import { Alert, AlertTitle } from '@/components/ui/alert';
import { Card, CardHeader, CardTitle, CardContent } from '@/components/ui/card';
const LaunchGuide = () => {
return (
<div className="space-y-6 w-full max-w-4xl">
<Alert>
<AlertTitle>Prerequisites</AlertTitle>
<p>Ensure you have Python 3.11+ and Homebrew installed on your MacBook M1</p>
</Alert>
<Card>
<CardHeader>
<CardTitle>1. Initial Setup</CardTitle>
</CardHeader>
<CardContent className="space-y-4">
<div className="bg-gray-100 p-4 rounded">
<pre className="whitespace-pre-wrap">
# Clone repository and enter directory
git clone [your-repo-url]
cd jarvis
# Make install script executable
chmod +x scripts/install.sh
# Run installation script
./scripts/install.sh
</pre>
</div>
</CardContent>
</Card>
<Card>
<CardHeader>
<CardTitle>2. Configure Jarvis</CardTitle>
</CardHeader>
<CardContent className="space-y-4">
<p>Edit config/jarvis_config.json to match your setup:</p>
<div className="bg-gray-100 p-4 rounded">
<ul className="list-disc list-inside space-y-2">
<li>Set correct camera_index</li>
<li>Configure automation devices</li>
<li>Adjust audio settings</li>
<li>Set memory retention period</li>
</ul>
</div>
</CardContent>
</Card>
<Card>
<CardHeader>
<CardTitle>3. Launch Jarvis</CardTitle>
</CardHeader>
<CardContent className="space-y-4">
<div className="bg-gray-100 p-4 rounded">
<pre className="whitespace-pre-wrap">
# Activate virtual environment
source venv/bin/activate
# Start Jarvis web interface
python -m jarvis.web.server
</pre>
</div>
<p>Access the dashboard at: http://localhost:8000</p>
</CardContent>
</Card>
<Card>
<CardHeader>
<CardTitle>4. Verify Components</CardTitle>
</CardHeader>
<CardContent>
<div className="grid grid-cols-2 gap-4">
<div className="p-3 bg-green-50 rounded">
<h4 className="font-semibold">Vision</h4>
<p>Camera preview should appear</p>
</div>
<div className="p-3 bg-blue-50 rounded">
<h4 className="font-semibold">Audio</h4>
<p>Microphone indicator active</p>
</div>
<div className="p-3 bg-purple-50 rounded">
<h4 className="font-semibold">Memory</h4>
<p>Database initialized</p>
</div>
<div className="p-3 bg-yellow-50 rounded">
<h4 className="font-semibold">Automation</h4>
<p>Devices connected</p>
</div>
</div>
</CardContent>
</Card>
</div>
);
};
export default LaunchGuide;