core.blade.php 916 B

1234567891011121314
  1. @php
  2. /** @var \Laravel\Boost\Install\GuidelineAssist $assist */
  3. @endphp
  4. # Laravel Sail
  5. - This project runs inside Laravel Sail's Docker containers. You MUST execute all commands through Sail.
  6. - Start services using `{{ $assist->sailBinaryPath() }} up -d` and stop them with `{{ $assist->sailBinaryPath() }} stop`.
  7. - Open the application in the browser by running `{{ $assist->sailBinaryPath() }} open`.
  8. - Always prefix PHP, Artisan, Composer, and Node commands with `{{ $assist->sailBinaryPath() }}`. Examples:
  9. - Run Artisan Commands: `{{ $assist->artisanCommand('migrate') }}`
  10. - Install Composer packages: `{{ $assist->composerCommand('install') }}`
  11. - Execute Node commands: `{{ $assist->nodePackageManagerCommand('run dev') }}`
  12. - Execute PHP scripts: `{{ $assist->sailBinaryPath() }} php [script]`
  13. - View all available Sail commands by running `{{ $assist->sailBinaryPath() }}` without arguments.