Nicolas Cantu 088eab84b7 Platform docs, services, ia_dev submodule, smart_ide project config
- Add ia_dev submodule (projects/smart_ide on forge 4nk)
- Document APIs, orchestrator, gateway, local-office, rollout
- Add systemd/scripts layout; relocate setup scripts
- Remove obsolete nginx/enso-only docs from this repo scope
2026-04-03 16:07:58 +02:00

12 lines
343 B
Bash
Executable File

#!/usr/bin/env bash
# Run API on this machine. Set API_KEYS (and optionally others) in .env or env.
set -e
cd "$(dirname "$0")"
if [ ! -d ".venv" ]; then
python3 -m venv .venv
.venv/bin/pip install -r requirements.txt
fi
. .venv/bin/activate
export API_KEYS="${API_KEYS:-dev-key}"
exec uvicorn app.main:app --host 0.0.0.0 --port 8000 "$@"