D
Setup

Setup Environment

Two onboarding blockers not visible from git clone — a gitignored global.js and a .env.example missing 87 variables.

Two blockers prevent the project from running after git clone:

  1. resources/js/global.js — gitignored, no .example, imported by 105 files. Ask the team for the file; do not rewrite from scratch.
  2. .env must set DB_CONNECTION=mongodb (the .env.example default is mysql, which breaks the app — 77 of 79 models use MongoDB).

.env.example is also missing 87 variables used in code (JWT, DB_CRM, ENGINE_BOT, Duitku, etc.).

See the Indonesian version for the full setup steps and variable list.