Files
bezalel/QUICKSTART.md

99 lines
2.0 KiB
Markdown
Raw Permalink Normal View History

# Bezalel Quick Start — 3 Steps to Awake
## Step 1: Add Your OpenAI Key (30 seconds)
```bash
# Edit the .env file
nano /root/wizards/bezalel/home/.env
# Replace this line:
OPENAI_API_KEY=<PASTE_YOUR_KEY_HERE>
# With your actual key:
OPENAI_API_KEY=sk-proj-XXXXXXXXXXXX
```
Get your key: https://platform.openai.com/api-keys
---
## Step 2: Create Bezalel's Gitea Token (1 minute)
Since API token creation failed, do this manually:
**Option A: Via Gitea Web UI**
1. Go to http://143.198.27.163:3000/user/settings/applications
2. Login as **bezalel** (password: may need reset)
3. Click "Generate New Token"
4. Name: `bezalel-agent`
5. Scopes: ✓ repo, ✓ write:issue, ✓ write:repository
6. Copy the token
**Option B: Via Admin (if you have admin access)**
```bash
# As admin user
curl -X POST "http://143.198.27.163:3000/api/v1/admin/users/bezalel/tokens" \
-H "Authorization: token $GITEA_ADMIN_TOKEN" \
-H "Content-Type: application/json" \
-d '{"name":"bezalel-agent","scopes":["repo","write:issue","write:repository"]}'
```
**Add token to .env:**
```bash
echo 'GITEA_TOKEN="gta_xxxxxxxx"' >> /root/wizards/bezalel/home/.env
```
---
## Step 3: Activate Bezalel (10 seconds)
```bash
/root/wizards/bezalel/ACTIVATE.sh
```
You should see:
```
🔥 BEZALEL ACTIVATION SEQUENCE
===============================
✓ OpenAI API key detected
✓ Environment loaded
✓ Gitea token configured
🚀 Starting Bezalel...
```
---
## Verify He's Awake
```bash
# Check process
ps aux | grep hermes | grep bezalel
# Test via Gitea
# Create an issue and assign to @bezalel
```
---
## What Bezalel Can Do
Once awake, Bezalel (Artisan) can:
- Write and modify code
- Create and manage Git commits/PRs
- Handle Gitea issues assigned to him
- Execute terminal commands
- Work alongside Bilbo and other wizards
---
## Need Help?
- Profile config: `/root/.hermes/profiles/bezalel/profile.yaml`
- Environment: `/root/wizards/bezalel/home/.env`
- Logs: `/root/wizards/bezalel/logs/`
- This package created by: Ezra
---
**Status**: AWAITING YOUR OPENAI KEY