chore(systemd): remove obsolete systemd service files and update infrastructure documentation

- Remove 8 unused systemd service files from coordinator-api/systemd/
  - aitbc-adaptive-learning.service (port 8005)
  - aitbc-advanced-ai.service
  - aitbc-enterprise-api.service
  - aitbc-gpu-multimodal.service (port 8003)
  - aitbc-marketplace-enhanced.service (port 8006)
  - aitbc-modality-optimization.service (port 8004)
  - aitbc-multimodal.service (port 8002)
  - aitbc-openclaw-enhanced.service (port 8007
This commit is contained in:
oib
2026-03-04 12:16:50 +01:00
parent 581309369d
commit 50954a4b31
101 changed files with 1655 additions and 4871 deletions

42
dev/examples/quick_job.py Executable file
View File

@@ -0,0 +1,42 @@
#!/usr/bin/env python3
"""
Quick job submission and payment
Usage: python3 quick_job.py "your prompt"
"""
import subprocess
import sys
import time
if len(sys.argv) < 2:
print("Usage: python3 quick_job.py \"your prompt\"")
sys.exit(1)
prompt = sys.argv[1]
print(f"🚀 Submitting job: '{prompt}'")
# Submit job
result = subprocess.run(
f'cd ../cli && python3 client.py submit inference --prompt "{prompt}"',
shell=True,
capture_output=True,
text=True
)
# Extract job ID
job_id = None
for line in result.stdout.split('\n'):
if "Job ID:" in line:
job_id = line.split()[-1]
break
if job_id:
print(f"✅ Job submitted: {job_id}")
print("\n💡 Next steps:")
print(f" 1. Start miner: python3 cli/miner.py mine")
print(f" 2. Check status: python3 cli/client.py status {job_id}")
print(f" 3. After completion, pay with:")
print(f" cd home/client && python3 wallet.py send 25.0 $(cd home/miner && python3 wallet.py address | grep Address | cut -d' ' -f4) 'Payment for {job_id}'")
else:
print("❌ Failed to submit job")