Preparing your experience…

Install & migration

Summary from the PRD — use before go-live or when deploying at a customer site (MAMP / VPS).

Server requirements

Install steps

  1. Clone or copy the project to e.g. htdocs/mstock
  2. Create database named mstock, then run core migrations from app/database/migrations/
  3. Recommended migrations (in order) via phpMyAdmin or CLI:
    • RUN_notification_telegram_tables.sql
    • 2026_06_01_000052_notification_audit_log_channel.sql
    • 2026_05_24_000053_settings_complete_and_fix_types.sql
    • RUN_documents_phase1_columns.sql → then 000001, 000002, 000005 (documents)
  4. Open the app http://localhost/mstock/public/ and log in with seed user
  5. Configure company, documents, POS, branches at /admin/settings
Go-live checklist
  • Enforce branch/user limits (license or settings)
  • Deliver this guide + standard migrations to the customer
  • Do not promote Tasks/Kanban until routes exist
  • VAT document forms per shop standard (if selling to VAT shops)