Compila APK Android y bundle Linux, luego sube al endpoint POST /api/upload_app.php con la version leída de pubspec.yaml. Uso: ./desplegar.sh [android|linux|all] servers.conf (gitignored) contiene WEBCONTROL_API_KEY y APP_NOMBRE. servers.conf.example documenta la plantilla para nuevos desarrolladores. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
12 lines
465 B
Plaintext
12 lines
465 B
Plaintext
# servers.conf — configuración local de despliegue
|
|
# NO commitear este archivo (está en .gitignore).
|
|
# Copiar a servers.conf y completar los valores reales.
|
|
#
|
|
# Obtener API key: https://siax-system.net → Clientes → API Keys → Tab "Central"
|
|
|
|
WEBCONTROL_API_KEY=TU_API_KEY_AQUI
|
|
|
|
# Nombre exacto de la app registrado en WebControlSigma
|
|
# Verificar con: curl https://api.siax-system.net/api/apps -H "x-api-key: $WEBCONTROL_API_KEY"
|
|
APP_NOMBRE="Agente Ventas"
|