Thank you so much Gio! I was literally red with frustration trying to figure out the Windows installation off the Laravel website. This video made it look so easy, glad I found it! You gained yourself a subscriber!
@ProgramWithGio3 жыл бұрын
You're welcome. Happy to know that this tutorial was helpful. Thank you 🙌
@manoj.kiran.a4 жыл бұрын
Thank you for this video sir. I have been trying to setup sail in my windows machine for past 2 days but I wasn't able to complete the setup. But after watching your video I was able to run sail in my machine. Thanks a lot sir.
@ProgramWithGio4 жыл бұрын
You're welcome. Glad it was helpful 👍
@Cashandrick3 жыл бұрын
Thank you so much! You really saved me from giving up !
@ProgramWithGio3 жыл бұрын
You're welcome. Glad it was helpful
@truthteachers3 жыл бұрын
You should have given up. Laravel is an overloaded piece of mess.
@Zubbee2 жыл бұрын
Found this video after getting to the place I need laravel in the Learn Php the right way course. I think this will help cause I wasn't sure what directory to run laravel on.
@ProgramWithGio2 жыл бұрын
Awesome 👍
@felipeortiz4833 жыл бұрын
Thank you from Chile!
@ProgramWithGio3 жыл бұрын
You're welcome
@kickass11793 жыл бұрын
I also have the "Docker is not running" issue, but I am opening the "Bash on ubuntu on Windows" terminal because my Powershell doesn't resemble your powershell at all, where I can choose Ubuntu 20.4....HELP???
@kickass11793 жыл бұрын
OK, I've got it...so I needed to download Windows Terminal (powershell was misleading)...Thanks me! You're welcome me!!
@ProgramWithGio3 жыл бұрын
@@kickass1179 glad you got it working. What version of windows are you on? It usually comes with terminal/powershell out of the box.
@kickass11793 жыл бұрын
@@ProgramWithGio Windows 10 Pro, version 2004...thanks very much for this tutorial...I was struggling for many days to make this work...kudos! and thanks for answering so quick, subscribed!
@ProgramWithGio3 жыл бұрын
@@kickass1179 thank you 🙏
@DungHoangTri2 жыл бұрын
Love this video!
@ProgramWithGio2 жыл бұрын
Thank you 💙
@DiegoAlvarez-to9wj3 жыл бұрын
Thank you!! Really help me!
@ProgramWithGio3 жыл бұрын
You're welcome
@wormy_coder7 ай бұрын
Great Work
@ProgramWithGio7 ай бұрын
Thanks
@kEzO9O3 жыл бұрын
Awesome!
@ProgramWithGio3 жыл бұрын
Thanks!
@versobyte61504 жыл бұрын
Awesome video
@ProgramWithGio4 жыл бұрын
Thanks
@dontysk3 жыл бұрын
I've tried to update the "laravel.test" service name to "app", but when I do I got an error. Papixulo-MacBook-Pro:example-app r0b$ sail artisan sail:publish ERROR: No such service: laravel.test
@ProgramWithGio3 жыл бұрын
Strange. I don't work with Mac so I'm not sure. Why or how did you update laravel.test?
@bevedel5 ай бұрын
really helpful. Thank you.
@ProgramWithGio5 ай бұрын
You're welcome
@saravanasai23912 жыл бұрын
Again a great tutorial.... But how can i access the mysql database of that container sir..
@ProgramWithGio2 жыл бұрын
Thank you. Do you mean access the database through laravel/database tool or access the container itself? If you want container access you can use docker exec command, otherwise you can simply connect to the database from laravel, the DB_HOST would be the container name for the db
11 ай бұрын
why I can't see ubunut 20.0.4 options in windows terminal? docker version is 4.26.1
@ProgramWithGio11 ай бұрын
Not sure to be honest
@starinformatik10873 жыл бұрын
Please make a video on how to deploy in production environment
@ProgramWithGio2 жыл бұрын
Thanks for the suggestion. Going to do that soon
@jahadempire79344 жыл бұрын
Does anyone experience this error? I'm using WSL 2 The stream or file "/var/www/html/storage/logs/laravel.log" could not be opened in append mode: Failed to open stream: Permission denied
@ProgramWithGio4 жыл бұрын
Is your code on WSL2 or is it on your local drive? Try updating permission manually one time using chown
@ahmedhabeeb24994 жыл бұрын
thank you man that was helpful
@ProgramWithGio4 жыл бұрын
You're welcome 👍
@faizanshakil277511 ай бұрын
i have installed laravel through sail but how can i open files in PHPStorm ?
@ProgramWithGio11 ай бұрын
find the folder where it was installed & open it. Should be under the linux distro you are running if you are on wsl
@onnewf92883 жыл бұрын
thank you sir but i have problem why is my installed distro didn't appear on docker setting ? i already install wsl2 , ubuntu 20.04 and set wsl2 as default
@ProgramWithGio3 жыл бұрын
hard to say, it should show under Resources -> WSL Integration. How did you install ubuntu, maybe some step was missed while installing ubuntu distro
@StephenAinsworth12 жыл бұрын
Don't know why but I had to run the installation through powershell, didn't work through terminal (permission denied)
@ProgramWithGio2 жыл бұрын
I did it using powershell as well in the video. The terminal was opened on the linux distribution from the powershell.
@code.with.martin4 жыл бұрын
Hi, great video! I have question. What about cooperation WSL 2 with PHP storm? In my case it is to slow, so I have to use VScode with remote WSL, that works good for me.
@ProgramWithGio4 жыл бұрын
I didn't notice that much slowness on phpstorm on my side. Though it's known that WSL is slower for sure and works well with VScode
@emmiewallace843 жыл бұрын
Love this!! I’m starting a new laravel project with work soon and currently we have custom docker setups so I’ll be giving this a try! I hope your keeping well?
@ProgramWithGio3 жыл бұрын
That's good to hear. I'm very well thank you & hope you are as well 🙌
@TheArmanist2 жыл бұрын
Thanks for the great explanation, however I could not see how did you open the project in your PhpStorm editor (or any editor), because it's a problem now for me since the project files are inside the docker container and you can't reach to there.. The Laravel documentation says to use Visual code with remote development plugin to edit the files... and it's easy to open the project with VS Code from the terminal by typing "code ." However I don't want to use VS code and prefer the PhpStorm.. (actually I'm on Netbeans right now) but anyways.. the point is how to open the project which is inside the docker container with any IDE?
@ProgramWithGio2 жыл бұрын
You put your source code in WSL2, and you open the folder in IDE the same way you open any regular folder. The folder structure for WSL2 I think is in \\wsl$\YOUR_LINUX_DISTRIBUTION\home\YOUR_USERNAME\YOUR_PROJECT_SOURCE For example for me its \\wsl$\Ubuntu-20.04\...
@TheArmanist2 жыл бұрын
@@ProgramWithGio Thank you very much for quick response.. for some reason my IDE could not access to the wsl$... but once I have created shortcut of that folder it was able to..
@TheArmanist2 жыл бұрын
@@ProgramWithGio looking forward to see new videos in channel about laravel sail + octane
@ProgramWithGio2 жыл бұрын
@@TheArmanist You're welcome
@franknstein23014 жыл бұрын
Thanks!
@ProgramWithGio4 жыл бұрын
You're welcome
@ExtraKanin3 жыл бұрын
you just made everything easier.
@ProgramWithGio3 жыл бұрын
Glad to hear that 🙌
@miftakhusysyiroth93014 жыл бұрын
I have problem with message "./vendor/bin/sail: line 42: docker-compose: command not found" and line 44,253 with same message. I don't know what shoul I do :(
@ProgramWithGio4 жыл бұрын
Are you on windows or Linux? Make sure you have docker & docker-compose installed.
@miftakhusysyiroth93014 жыл бұрын
@@ProgramWithGio I'm using ubuntu. Thanks, I will try again
@halzagh28913 жыл бұрын
how can work with Existing project from lochost ( wamp - largon - etc ) or github ? and how can replace mysql with mariadb ? thanks for time
@ProgramWithGio3 жыл бұрын
You can just install the package on an existing application & follow the steps. Here is the link to the docs for that: laravel.com/docs/8.x/sail#installing-sail-into-existing-applications To replace MySQL with mariadb you need to change the container in docker-compose.yml
@fernastereo3 жыл бұрын
Hi, thanks for this tutorial, it was very helpful to me, everything worked fine. However, I have a question, when I try to run any artisan command with sail, I get this: Command 'sail' not found, but can be installed with: sudo apt install bsdgames What am I doing wrong?
@ProgramWithGio3 жыл бұрын
You're welcome Fernando & thank you. Try ./vendor/bin/sail up You might need to set up bash alias, check docs here: laravel.com/docs/8.x/sail#configuring-a-bash-alias
@developerstutorial88212 жыл бұрын
I am having issues in using git in linux container today, do i use my windows tortoise svn or i should use linux install git.
@ProgramWithGio2 жыл бұрын
You can install git. Why do you need git in docker container?
@gboquizo4 жыл бұрын
Hi, thank you for your video. I have a problem. When I run sail up, localhost is throwing a ERR_EMPTY_RESPONSE. Any idea? Thanks in advance!
@ProgramWithGio4 жыл бұрын
Hard to say, check this out, it might help stackoverflow.com/questions/46184173/err-empty-response-from-docker-container It could also be related to the memory limit. Check this also: stackoverflow.com/questions/42248306/laravel-project-err-empty-response Hope it helps. I haven't seen that error myself.
@dimas.subaktianto2 жыл бұрын
why your terminal has multi-tabs?
@ProgramWithGio2 жыл бұрын
I'm sure yours has it too 🙂
@latlov4 жыл бұрын
1.- Could Spatie's Laravel Backup work here on Sail? 2.- Does Laravel schedule works on Sail?
@ProgramWithGio4 жыл бұрын
I'm not familiar with spatie's package so not sure about that. Laravel's schedule should work I think. You can customize it the way you want, add containers, etc
@anteqqq13 жыл бұрын
Does the file with project exists on that ubuntu or its rechable in management files on windows?
@ProgramWithGio3 жыл бұрын
Depends on how you set it up, I have it set up where project files exist on windows, though this can be slow. So having them on ubuntu is faster for sure. I personally don't work on windows much and haven't had the need to put the files anywhere else but the windows itself, but I did notice that it's a bit slower.
@anteqqq13 жыл бұрын
@@ProgramWithGio but how does that curl command points that i want It in windows folder , thats the thing i dont understand
@ProgramWithGio3 жыл бұрын
@anteqqq1 if you run it from Windows terminal then it will put it on windows I think, if you run it from Ubuntu distribution then it will put it there. It's the matter of where you run it from.
@des501111 ай бұрын
Many thanks
@ProgramWithGio11 ай бұрын
You are welcome
@veggiewear54194 жыл бұрын
hi great tut, can we run sail commands in vs code? Thanks
@ProgramWithGio4 жыл бұрын
Thanks. I haven't tried vscode, I use phpstorm & was able to run commands in phpstorm. I think you should be able to
@mikebailey7834 жыл бұрын
VSCode has a pretty great terminal, which is perfect for running commands on your local project folders and your Docker containers.