Transitioned from obsolete gateway object classes (`edge_gateway_shell_action_jobs_o`, `edge_gateway_shell_events_o`, `edge_gateway_shell_sessions_o`, `edge_gateway_update_jobs_o`) to the new agent implementation (`edge-gateway-agent/agent.php`).
49 lines
775 B
TOML
49 lines
775 B
TOML
# THIS IS AUTOGENERATED. DO NOT EDIT MANUALLY
|
|
version = 1
|
|
name = "api"
|
|
|
|
[setup]
|
|
script = '''
|
|
./scripts/setup.sh
|
|
'''
|
|
|
|
[setup.win32]
|
|
script = '''
|
|
powershell -ExecutionPolicy Bypass -File .\scripts\setup.ps1
|
|
'''
|
|
|
|
[[actions]]
|
|
name = "Start API"
|
|
icon = "run"
|
|
command = '''
|
|
docker compose up -d traefik redis mysql-debug php1 caddy
|
|
'''
|
|
|
|
[[actions]]
|
|
name = "Stop API"
|
|
icon = "run"
|
|
command = '''
|
|
docker compose down
|
|
'''
|
|
|
|
[[actions]]
|
|
name = "PHP logs"
|
|
icon = "debug"
|
|
command = '''
|
|
docker compose logs -f --tail=200 php1
|
|
'''
|
|
|
|
[[actions]]
|
|
name = "PHP unit tests"
|
|
icon = "test"
|
|
command = '''
|
|
docker compose exec -T php1 sh -lc "cd /var/www/html && composer test:unit"
|
|
'''
|
|
|
|
[[actions]]
|
|
name = "AI workflow check"
|
|
icon = "debug"
|
|
command = '''
|
|
node scripts/sync-ai-workflow.mjs --check
|
|
'''
|