Created
June 15, 2023 08:55
-
-
Save hoangsvit/f094d03fa5aaa834543811973a819753 to your computer and use it in GitHub Desktop.
Laravel sail on Powershell
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
docker run --rm ` | |
--pull=always ` | |
-v "${pwd}:/opt" ` | |
-w /opt ` | |
laravelsail/php82-composer:latest ` | |
bash -c "laravel new example-app-sail && cd example-app-sail && php ./artisan sail:install --with=mysql,redis,meilisearch,mailpit,selenium " |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
https://stackoverflow.com/questions/65723060/laravel-sail-mysql-8-0-problem-on-existing-project
If you run the commands below and don't work
Try to change the .env
DB_USERNAME
, probably it is root and will not work for root username.