Initial commit: Motia III Backend Setup
- 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
This commit is contained in:
52
README.md
Normal file
52
README.md
Normal file
@@ -0,0 +1,52 @@
|
||||
# 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
|
||||
Reference in New Issue
Block a user