Compare commits

..

No commits in common. "c0de93736d7b9c51674b7ec923054657eeb07860" and "79c4918df2d0b4046e4fe35dbe1865a1367f9c8a" have entirely different histories.

6 changed files with 4 additions and 63 deletions

View file

@ -145,45 +145,6 @@ gb/
---
## 🚀 BOTSERVER RUN LOOP - MANDATORY FOR RUNTIME FIXES
```
LOOP UNTIL botserver starts successfully:
1. cargo build -p botserver 2>&1 | tail -20
2. IF build fails → fix errors → CONTINUE LOOP
3. cd botserver && timeout 30 ../target/debug/botserver --noconsole 2>&1 | head -80
4. Analyze output for errors/warnings
5. Fix issues in code
6. CONTINUE LOOP
END LOOP
```
### Run Commands
```bash
# Build botserver only
cargo build -p botserver 2>&1 | tail -20
# Run from botserver directory (required for .env and botserver-stack paths)
cd botserver && timeout 30 ../target/debug/botserver --noconsole 2>&1 | head -80
# Check specific component logs
cat botserver/botserver-stack/logs/drive/minio.log
cat botserver/botserver-stack/logs/vault/vault.log
# Test vault credentials manually
cd botserver && export $(cat .env | grep -v '^#' | xargs) && \
./botserver-stack/bin/vault/vault kv get -format=json secret/gbo/drive
```
### Key Paths (relative to gb/)
- Binary: `target/debug/botserver`
- Run from: `botserver/` directory
- Env file: `botserver/.env`
- Stack: `botserver/botserver-stack/`
- Logs: `botserver/botserver-stack/logs/<component>/`
---
## Development Workflow
### The Loop

@ -1 +1 @@
Subproject commit e142a898f025fb277da185f5472a406b7740b783
Subproject commit d5d147ce0ce54e9d6519440b87bb4dea5ddcfecc

@ -1 +1 @@
Subproject commit 41e2512a620eaf7f51d25b8083271f5905824a1b
Subproject commit c8da129b4ce7da8d744125e90adc53e9612a2e7f

@ -1 +1 @@
Subproject commit 5adb6efec4a5b92be1ce7965e6da7118984ed2d7
Subproject commit 98fb0b31a6e14aefbd6c77cf41dda2028b64dfda

2
botui

@ -1 +1 @@
Subproject commit ea9bd091c33c16b6863628d8d6cb923b2c3f878e
Subproject commit 3f95c4645d69b68186849e5aac68c433e93bd545

View file

@ -1,20 +0,0 @@
{
"base_url": "http://localhost:8300",
"default_org": {
"id": "353226116074307598",
"name": "default",
"domain": "default.localhost"
},
"default_user": {
"id": "admin",
"username": "admin",
"email": "admin@localhost",
"password": "",
"first_name": "Admin",
"last_name": "User"
},
"admin_token": "XzjmsXoVy7mDKK8gyWtJNp3w3enVW3EKGPdfLbz0nX9vMsDpg27UtAROOcKMXsoc0fDwv98",
"project_id": "",
"client_id": "353226118456737806",
"client_secret": "5uH0r2elIQ3xji4N4aTOARZjEDDUWC0cfIybGaFkvhwlA6gvygMHOdmodVg4K6PJ"
}