Establish baseline: core documentation and memory system
Adds foundational workspace documentation: - Core identity and operating principles (SOUL.md, IDENTITY.md, AGENTS.md, USER.md) - Memory management system specification (MEMORY.md) - Development team context and workflow (CONTEXT.md, PROJECTS.md) - Environment notes template (TOOLS.md) - Heartbeat task template (HEARTBEAT.md) Includes super-enhanced memory system: - JavaScript memory engine implementation - Memory initialization and test scripts - Daily memory logs for 2026-07-03, 2026-07-04 - Project-level memory structure for site-survey-ai Adds project templates: - Standard Python Flask application template
This commit is contained in:
@@ -0,0 +1,47 @@
|
||||
# IT Site Survey AI - Operations Runbook
|
||||
|
||||
## Application Management
|
||||
|
||||
### Check Application Status
|
||||
```bash
|
||||
ssh jcbeasley@192.168.50.11 "ps aux | grep python | grep app.py"
|
||||
```
|
||||
|
||||
### Check Application Port
|
||||
```bash
|
||||
ssh jcbeasley@192.168.50.11 "ss -tulpn | grep 3003"
|
||||
```
|
||||
|
||||
### View Application Logs
|
||||
```bash
|
||||
ssh jcbeasley@192.168.50.11 "tail -f /home/jcbeasley/.openclaw/workspace/Projects/site-survey-ai/app.log"
|
||||
```
|
||||
|
||||
### Restart Application
|
||||
```bash
|
||||
ssh jcbeasley@192.168.50.11 "pkill -f 'python3 app.py' && cd /home/jcbeasley/.openclaw/workspace/Projects/site-survey-ai && source venv/bin/activate && nohup python3 app.py > app.log 2>&1 &"
|
||||
```
|
||||
|
||||
## Testing Endpoints
|
||||
|
||||
### Test Main Application
|
||||
```bash
|
||||
curl -s http://192.168.50.11:3003/
|
||||
```
|
||||
|
||||
### Test API Endpoint
|
||||
```bash
|
||||
curl -s http://192.168.50.11:3003/api/surveys/responses | jq '.'
|
||||
```
|
||||
|
||||
### Test Dashboard
|
||||
```bash
|
||||
curl -s http://192.168.50.11:3003/dashboard.html
|
||||
```
|
||||
|
||||
## File Locations
|
||||
- Main application: `/home/jcbeasley/.openclaw/workspace/Projects/site-survey-ai/app.py`
|
||||
- HTML files: `/home/jcbeasley/.openclaw/workspace/Projects/site-survey-ai/index.html` and `dashboard.html`
|
||||
- Memory files: `/home/jcbeasley/.openclaw/workspace/Projects/site-survey-ai/memory/`
|
||||
- Logs: `/home/jcbeasley/.openclaw/workspace/Projects/site-survey-ai/app.log`
|
||||
- Virtual environment: `/home/jcbeasley/.openclaw/workspace/Projects/site-survey-ai/venv/`
|
||||
Reference in New Issue
Block a user