Deploy Ladill Mini / deploy (push) Successful in 23s
Staff-facing counter register at pos.ladill.com with catalog cart, cash and MoMo/card checkout via Ladill Pay, CRM timeline/import, invoice prefill, and Merchant catalog import. Co-authored-by: Cursor <cursoragent@cursor.com>
1.1 KiB
1.1 KiB
Ladill POS — deploy runbook
Standalone in-store register at pos.ladill.com. Charges via Ladill Pay (source_service: pos, fee_tier: sales).
Platform wiring
- OIDC client:
php artisan passport:clienton monolith — redirecthttps://pos.ladill.com/sso/callback - Env keys on monolith:
BILLING_API_KEY_POS,PAY_API_KEY_POS,IDENTITY_API_KEY_POS - Env on POS app: matching consumer keys +
LADILL_SSO_CLIENT_* - Database:
ladill_pos(MySQL) — migrations via deploy script - Marketing:
php scripts/ensure-app-entry-routes.php(includesladill-pos)
Deploy
Same release model as Mini/Merchant — see deploy/deploy.sh.
php artisan migrate --force
php artisan config:cache && php artisan route:cache && php artisan view:cache
Commerce links
- CRM —
CRM_API_KEY_POSon CRM +CRM_API_URL/CRM_API_KEY_POSon POS; timeline on paid sales; product import from CRM API - Invoice — "Create invoice" on paid sale receipt (
kind: pos_saleprefill) - Merchant —
MERCHANT_DB_*read-only connection; import storefront catalog intopos_products