Uncommented the '--force' flag in config/tenancy.php seeder_parameters.
Without this, tenant databases are created but not seeded (no admin user)
in the production environment, preventing login.
The resources/views directory is ignored by .gitignore, so the custom super-admin
views were not being tracked or deployed, causing 'View [super-admin.session.login] not found'
errors in production. This commit forces them to be tracked.
The Super Admin layout references 'images/favicon.ico' via vite()->asset().
This file must be explicitly listed in the input array to be included in the
manifest, preventing a 500 error on the Super Admin login page.
The published login view (resources/views/vendor/admin/sessions/login.blade.php)
was referencing 'resources/images/logo.svg', which caused a mismatch with the
Vite manifest (which has 'images/logo.svg').
Also force-added the file to git because 'resources/views/.gitignore' ignores everything.
The login page references 'images/logo.svg' via vite()->asset(), which requires
the file to be present in the build manifest. Adding it to the input array
ensures it is processed and listed in manifest.json.
- Replaced hardcoded environment variables with dynamic references (e.g., ${APP_URL}) to allow Portainer configuration.
- Changed default database and username from 'krayin' to 'growup' for white-labeling.
This ensures that Vite treats the configuration files as ESM, allowing them to
natively import 'laravel-vite-plugin' (which is ESM-only). This resolves the
build error where esbuild was converting imports to require() calls in CJS packages,
causing the build to fail.
- Added missing dependencies to root package.json for sub-package builds.
- Renamed Admin/tailwind.config.js to .cjs to fix ESM/CJS build conflict.
- Updated Dockerfile to run Vite build for Admin, Installer, and WebForm packages.
- Copy users and roles migrations to central database context
- Redirect central domain root to /admin/login
- Fix SuperAdminSeeder to include required role_id