@@ -21,31 +21,50 @@ This guide walks you through running your own Happy instance.
2121 └─────────┘
2222```
2323
24- ## Step 1: Build and Launch Services
24+ ## Step 1: Install Dependencies
25+
26+ On a fresh checkout, you first need to install all dependencies:
2527
2628``` bash
27- cd .devcontainer
28- make build # Build the container image (first time only)
29+ make install # Install dependencies for all components
30+ ```
2931
30- # In terminal 1 - start the server (port 3005):
31- make server
32+ This installs dependencies for:
33+ - ` happy-cli ` - CLI tool and daemon
34+ - ` happy-server ` - Backend server
35+ - ` happy ` (webapp) - Web interface
3236
33- # In terminal 2 - start the webapp (port 8081):
34- make web
37+ ## Step 2: Build and Launch Services
38+
39+ ``` bash
40+ make build # Build TypeScript code (happy-cli and happy-server)
41+
42+ # Start all services (server + webapp):
43+ ./happy-launcher.sh start
44+
45+ # OR start just the backend (if you only need the server):
46+ ./happy-launcher.sh start-backend
3547```
3648
37- ## Step 2: Create an Account
49+ The launcher automatically starts:
50+ - PostgreSQL (port 5432)
51+ - Redis (port 6379)
52+ - MinIO (ports 9000/9001)
53+ - happy-server (port 3005)
54+ - Webapp (port 8081, if using ` start ` )
55+
56+ ## Step 3: Create an Account
3857
39581 . Open http://localhost:8081 in your browser
40592 . Click "Create Account"
41603 . Optionally add a recognizable username in Account settings
4261
43- ## Step 3 : Get Your Secret Key
62+ ## Step 4 : Get Your Secret Key
4463
45641 . Go to Account settings in the webapp
46652 . Find and copy your secret backup key (format: ` XXXXX-XXXXX-... ` )
4766
48- ## Step 4 : Install the CLI
67+ ## Step 5 : Install the CLI
4968
5069On each machine where you want to run Claude with Happy:
5170
@@ -55,21 +74,21 @@ cd /usr/local/happy
5574npm install && npm run build && npm install -g .
5675```
5776
58- ## Step 5 : Authenticate the CLI
77+ ## Step 6 : Authenticate the CLI
5978
6079``` bash
6180happy auth login --backup-key < YOUR-SECRET-KEY>
6281```
6382
64- ## Step 6 : Start the Daemon
83+ ## Step 7 : Start the Daemon
6584
6685``` bash
6786happy daemon start
6887```
6988
7089The daemon connects your machine to the Happy server, allowing remote control from the webapp.
7190
72- ## Step 7 : (Optional) Voice Assistant
91+ ## Step 8 : (Optional) Voice Assistant
7392
7493For ElevenLabs voice assistant integration:
7594
0 commit comments