- iii-config.yaml mit Production-Settings (CORS, all interfaces) - Ticketing-System Steps (create, triage, escalate, notify, SLA monitoring) - Python dependencies via uv - Systemd services für Motia Engine und iii Console - README mit Deployment-Info
53 lines
1023 B
Markdown
53 lines
1023 B
Markdown
# Motia III - BitByLaw Backend
|
|
|
|
Motia Backend-Anwendung powered by the iii engine.
|
|
|
|
## Project Structure
|
|
|
|
```
|
|
bitbylaw/
|
|
├── steps/ # Motia Steps (Business Logic)
|
|
├── iii-config.yaml # iii Engine Configuration
|
|
├── pyproject.toml # Python Dependencies
|
|
└── .venv/ # Python Virtual Environment
|
|
```
|
|
|
|
## Services
|
|
|
|
- **Motia API**: Port 3111 (https://api-motia.bitbylaw.com)
|
|
- **iii Console**: Port 3113 (https://motia.bitbylaw.com)
|
|
- **Streams/WebSocket**: Port 3114
|
|
|
|
## Systemd Services
|
|
|
|
- `motia.service` - Backend Engine
|
|
- `iii-console.service` - Observability Dashboard
|
|
|
|
## Development
|
|
|
|
```bash
|
|
# Install dependencies
|
|
uv sync
|
|
|
|
# Start locally
|
|
iii -c iii-config.yaml
|
|
```
|
|
|
|
## Production
|
|
|
|
Services run automatically via systemd on boot.
|
|
|
|
```bash
|
|
# Restart services
|
|
systemctl restart motia.service iii-console.service
|
|
|
|
# View logs
|
|
journalctl -u motia.service -f
|
|
journalctl -u iii-console.service -f
|
|
```
|
|
|
|
## Deployment
|
|
|
|
Deployed on: motia.bitbylaw.com
|
|
Date: März 2026
|