Skip to content

Instantly share code, notes, and snippets.

@marchershey
Created March 24, 2022 00:09
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save marchershey/0145b1687de40335baee7ad9c0da4323 to your computer and use it in GitHub Desktop.
Laravel Setup
  1. Run curl -s "https://laravel.build/app?with=mysql" | bash
  2. Run cd app
  3. Run mv * ../ to move all files to parent directory
  4. Run docker run --rm -u "$(id -u):$(id -g)" -v $(pwd):/var/www/html -w /var/www/html laravelsail/php81-composer:latest composer install --ignore-platform-reqs

Still updating...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment