💡 Troubleshooting: If you encounter "port has already been allocated" issue, you can run the following command with Administrator right: net stop winnat netsh int ipv4 set dynamic tcp start=49152 num=16384 netsh int ipv6 set dynamic tcp start=49152 num=16384 net start winnat Source: github.com/docker/for-win/issues/3171#issuecomment-788808021
@Michael-u2q5t Жыл бұрын
This was literally the best youtube tutorial of my life. Everything worked as expected, fast and easy. Thank you so much!
@griffdotexe Жыл бұрын
Such a massive help to my learning. Thank you! As a quick side note. If anyone is having issues with curl or bash commands not running after installing Ubuntu for the first time, you'll need to restart your machine. Your bash and curl commands should work after.
@prospersosu2 жыл бұрын
After long searching and watching unhelpful videos you've got me excited as I can now clearly and confidently start my laravel dev in docker. Thank you
@angelocoelho72332 жыл бұрын
This is one of the best tutorial that I saw on this matter. Lots of help, almost giving up for today... and you saved it. Thanks!
@Dogcomp2 жыл бұрын
Glad it helped! 😁 Please do not forget subscribe and share the video...
@russelcurioso99593 жыл бұрын
The best docker laravel setup tutorial!
@kirilln2893 жыл бұрын
Finally complete tutorial on that topic! Very great! Thanks for sharing!
@Dogcomp3 жыл бұрын
Thanks for the "Subscribe" too. Please kindly leave the topic you'd like to hear in the future. Thanks again & take care~ 🙂
@samuelirwin8883 жыл бұрын
finally! I've been looking for a tutorial like this high and low. Thanks man! Appreciate it.
@Dogcomp3 жыл бұрын
Thanks for your support 😀! Please Subscribe to my channel for more Laravel tutorial videos!
@ThusithaWick2 жыл бұрын
This is the one i been looking for.
@achmedislamichernawan70703 жыл бұрын
wow, i really like the video. Even the video explains the routine practice every time we start work.
@nildesperandum99603 жыл бұрын
Short, Concise, Perfect! Many Thanks to You! ... no doubts, no problems, really no need to look for anything else. Wish I started with this tutorial.
@Dogcomp3 жыл бұрын
Glad it helped! Please also subscribe to my channel. Thanks!
@Catalin522 жыл бұрын
@@Dogcomp I confirm, great job with this video! 💪💪
@Poegim3 жыл бұрын
This is what i was searching for, thanks!
@umidjonzoxidov2 жыл бұрын
Beneficial video, thanks for the tutorial!
@SupunSamarakoon3 жыл бұрын
Wow. This is the best tutorial for this topic. I was finally able to make this work after watching this video. Thank you very much.
@Dogcomp3 жыл бұрын
You're welcome 😀! Please Subscribe my channel and tell me what you'd like want to watch... 👍
@turdakhov Жыл бұрын
Thank you! Thank you! Thank you! Using your tutorial for years :)
@tiagorodrigues_br2 жыл бұрын
The best tutorial for Sail on Windows!! Thank you very much
@aujlarj2 жыл бұрын
Everything I needed to understand and do in one video! Perfect!
@ELYUSEF2 жыл бұрын
i spent a 2 days trying to make it works till I found this video and it worked thank you so much
@Dogcomp2 жыл бұрын
Glad it helped!😀
@virajjayasinghe34343 жыл бұрын
This guy deserves more than the current number of views. Thanks
@Dogcomp3 жыл бұрын
You are welcome. please subscribe my channel and tell me what you like to see in the future. 😇
@ibrahimakhaliloulayediallo8786 Жыл бұрын
Very instructive... Thanks a lot
@HVSharma3 жыл бұрын
Really Nice video. Simple & Short. No complications at all.
@Dogcomp3 жыл бұрын
Glad it helped! Please also subscribe to my channel. Thanks!
@alaamohammed46683 жыл бұрын
That was such a very complete How-to video, Thanks very much.
@Dogcomp3 жыл бұрын
Glad it was helpful! Please also subscribe to my channel. Thanks!
@BitcoinStrategy3 жыл бұрын
This video is a god send. Thank you so much!!
@Dogcomp3 жыл бұрын
Glad you liked it! Please kindly subscribe to my channel too.
@BitcoinStrategy3 жыл бұрын
@@Dogcomp sure thing
@ImaDrunkMonkey2 жыл бұрын
Very well done. Simple to follow and understand. Thank you for this tutorial.
@Gallumbos20073 жыл бұрын
Very good tutorial. My compliments!
2 жыл бұрын
Amazing, very useful video, thanks !
@jmmbuthia3 жыл бұрын
Lovely. Struggled to setup laravel on WSL. This was straight to the point
@Dogcomp3 жыл бұрын
Thanks! Pls also subscribe to my channel. ;-)
@lubomirhorvath8233 жыл бұрын
Thank you for nice & clean explanation. It's my first touch with Docker. It was very helpful.
@Dogcomp3 жыл бұрын
You're welcome. Please kindly subscribe to my channel to receive more Laravel videos. Take Care~
@Dasmashina2 жыл бұрын
the best tutorial, thank you
@jacosmonjur67282 жыл бұрын
grate and faithful tutorial...thank bro
@grgr1443 жыл бұрын
Amazing guide! Thank you very much!
@pratikdeshpande41222 жыл бұрын
Awesome !!!! Never seen such a precise tutorial. I will remember you always for the way you edited the content. I wonder how you managed to screen-record a shutting down PC?
@Dogcomp2 жыл бұрын
Thx. I am using Virtual Machine/Remote Desktop
@doxasistemas3 ай бұрын
Excelente tutorial, gracias!!!
@Dogcomp3 ай бұрын
Thanks! Please subscribe and i am back! Will upload for more Laravel tutorial!
@jesselealdossantos3 жыл бұрын
Great tutorial! You are to be congratulated!
@Dogcomp3 жыл бұрын
Thanks for your support 😀! Please Subscribe my channel and tell me what you'd like want to watch..
@davidfrei7as3 жыл бұрын
The best tutorial ever! Thank you so much!
@Dogcomp3 жыл бұрын
Thanks for the comment. Please kindly subscribe to my channel too.
@fabriciogarcia5233 жыл бұрын
Thanks for sharing! This tutotial is great and exactly that I needed.
@fabriciogarcia5233 жыл бұрын
After reinit sail ("sail down" and "sail up -d") "localhost/" doesn't work. Could you please help me? Thank you!
@Dogcomp3 жыл бұрын
@Fabricio Garcia did you see any error message? you can also check the Docker Desktop, make sure all green in the Dashboard. I try my best to help
@fabriciogarcia5233 жыл бұрын
@@Dogcomp Thank you very much for your response. I could fix it adding APP_PORT=8080 in .env, restarting Sail and Docker. It works in "127.0.0.1:8080/". Best regards, Fabricio.
@Dogcomp3 жыл бұрын
Cool! you manage to resolve it. Another Laravel Sail video is coming soon, stay tune and take care :-)
@dmitriylasarev3 жыл бұрын
amazing tutorial! very helpfully, thank you very much!
@SuperLandrover1093 жыл бұрын
amazing tutorial... clear and concise... THANK YOU !
@Dogcomp3 жыл бұрын
Thanks for the subscription too!
@JigneshJoisar3 жыл бұрын
The exact tutorial that I needed. Thanks for Sharing!
@Dogcomp3 жыл бұрын
You're welcome 😀! Please Subscribe my channel and tell me what you'd like want to watch... 👍
@JigneshJoisar3 жыл бұрын
@@Dogcomp I subscribed. deep dive into laravel sail with docker for more productivity.
@Dogcomp3 жыл бұрын
@@JigneshJoisar May be you can take a look this new video kzbin.info/www/bejne/ZnzNqqiYh8mnrKM it talks about Swoole, Laravel Mix Hot Reload, Xdebug with VS Code. Thank you !
@Krixoro2 жыл бұрын
You helped me a lot! Amazing tutorial, thanks!
@Babaknouri3 жыл бұрын
Thank you for the great content, it was very helpful.🌹🌹🌹
@michoo092 жыл бұрын
That helped a lot, thank you very much
@michoo092 жыл бұрын
Actually when i execute ./vendor/bin/sail up -d it returns "no such service: laravel.test" any ideas ?
@Dogcomp2 жыл бұрын
Make sure you are in the Laravel project directory... then try to add "APP_SERVICE=laravel-custom.test" in your .env file hopefully, it solves your issue.
@michoo092 жыл бұрын
@@Dogcomp no it's saying "no such service laravel-custom.test". before commenting the error i've tried to run ./vendor/bin/sail build --no-cache and it gives the same error after
@Dogcomp2 жыл бұрын
Are you able to confirm the image "sail-8.0/app" or "sail-8.1/app" was built successfully? you should be able to check in the Docker Desktop Images Tab. if still unable to docker up successfully, maybe you should try to reset your WSL2.
@michoo092 жыл бұрын
@@Dogcomp only images I have are : docker/getting-started / getmeili/meilisearch / laravelsail/php81-composer / mailhog/mailhog / redis
@subhesadek60083 жыл бұрын
Really helpful, thank u.
@ibrokhimqudratov4072 жыл бұрын
Thank you very much, everything is very simple and clear 👍👍👍👍 .
@Dogcomp2 жыл бұрын
Glad it helped!😀
@davidgabbay46163 жыл бұрын
should explain how did you launch the database managment tool, did you install it ? how ? what do you recommand ?
@Dogcomp3 жыл бұрын
Sorry for late reply. the software is in the description. I will add shortcut in the video. thanks for telling me... • HeidiSQL www.heidisql.com/download.php
@rodrigosoares52072 жыл бұрын
Great! Thanks a lot.
@VaelVictus3 жыл бұрын
Amazingly helpful, thank you. I had trouble getting Windows Terminal to recognize my linux installation, but the app store's shortcut for Ubuntu (which it made in my Start programs) was what I had to use.
@Dogcomp3 жыл бұрын
Thanks. Pls subscribe to my channel for more tutorial videos. Your default WSL distro must be Ubuntu, so you can use it in Windows Terminal. pureinfotech.com/set-default-distro-wsl2-windows-10/
@hsutomy83753 жыл бұрын
Thanks! This is exactly what I need!!👏
@Dogcomp3 жыл бұрын
You're welcome 😀! Please Subscribe to my channel and tell me what you'd like want to watch... 👍
@annewright81023 жыл бұрын
Thanks so much for this video, it worked great!
@Dogcomp3 жыл бұрын
You are welcome. please subscribe to my channel and tell me what you like to see in the future. 😇
@abdulrafay15093 жыл бұрын
Nob bullsbit setup man, nice work!
@Dogcomp3 жыл бұрын
Thanks for your support 😀! Thanks for the subscription too...
@abdulrafay15093 жыл бұрын
@@Dogcomp not a problem bro :)
@AnlGUNDAL3 жыл бұрын
Clean, easy, perfect
@alltimehasan3 жыл бұрын
Just Awesome!
@Dogcomp3 жыл бұрын
Many many thanks! Please do not forget to subscribe to my channel!
@jitendralovekar1 Жыл бұрын
Good Tutorial. Thanks you.
@tylerprysko44483 жыл бұрын
Great video!! Really helped me out! Thanks 👍
@Dogcomp3 жыл бұрын
You're welcome 😀! Please Subscribe my channel and tell me what you'd like want to watch... 👍
@marcusnielsen44033 жыл бұрын
Exactly the tutorial I needed. That´s a like from me
@Dogcomp3 жыл бұрын
Thanks for your support 😀! Please Subscribe my channel and tell me what you'd like want to watch... 👍
@flyzea26633 жыл бұрын
Amazing video! Thank you. One question, I have trouble running the mysql part. I somehow change the port of the mysql to 3307 due to an existing another mysql server running on 3306 (and I use them for another project). And it works. But I encounter problem when running sail migrate artisan. Is changing the port cause this problem? I tried to connect to mysql workbench, but failed too.
@Dogcomp3 жыл бұрын
you update the "DB_PORT=3307" in your .env file? did you run "sail down" and "sail up -d" after changing the port? you connect mysql workbench with localhost:3307?
@flyzea26633 жыл бұрын
@@Dogcomp no.. i'm not sure wheteher the 'sail migrate' create another mysql server.. i already have mysql server running on port 3306.. that's why I change the port to 3307 in .env file.. can I just use the existing mysql server?
@Dogcomp3 жыл бұрын
@@flyzea2663 "sail artisan migrate" will only create tables. you can use the existing MySQL. Just make sure you create a DB & User with proper permission and configure it in the .env file.
@erikkuollut11812 жыл бұрын
You are the best !
@idhamrahadian093 жыл бұрын
BIG THANKS
@RockStar-te7fy3 жыл бұрын
Very nice tutorial. That i was looking.
@Dogcomp3 жыл бұрын
Glad I could help! Please SUBSCRIBE my channel for more Laravel & programming videos. 😁
@mbailionel79102 жыл бұрын
Hi, please can someone help me on how to set up the data base management tool.? How do i get / locate its dialog box first. This video is quite perfect and help me a lot, except on how to open the database management tool. i'm waiting.
@Dogcomp2 жыл бұрын
are you able to tell me you stuck at which min:sec in the video ?
@josueando2 жыл бұрын
hello sir, i have wamp install on my computer and when i write localhost in the search bar it automatically opens wamp server landing page instead of my laravel project, how can i fix this??
@Dogcomp2 жыл бұрын
Just use the different port. I assume your WAMP using port 80. so in your Laravel .env file, just add "APP_PORT=8012" ( or any unused port no.) then sail down and sail up -d again. then you should be able to access via localhost:8012 Hope it helps!
@retvain3 жыл бұрын
amazing, best tutorial! very helpfull! thank you!
@Dogcomp3 жыл бұрын
Please Subscribe my channel and tell me what you'd like want to watch... 👍
@retvain3 жыл бұрын
@@Dogcomp more video about laravel in wsl2 experience :) when i try run ./vendor/bin/sail up -d in /mnt/d/dev/test-project, i get "/usr/bin/env: ‘bash ’: No such file or directory" error message :(
@Dogcomp3 жыл бұрын
@@retvain can you try to build inside the Windows file system... "cd ~" will bring you to the Linux User Home Directory You may refer to this... medium.com/p/30276265e588#af3d
@retvain3 жыл бұрын
@@Dogcomp Thanks for help. I appreciate it. I installed php 8 and "composer install" in wsl since the project was cloned. And before that, I tried to run the "composer install" in the Windows environment
@Dogcomp3 жыл бұрын
@@retvain actually the installation of PHP or composer is not required. we actually running everything on the docker images. I will share more about this in the future. thanks and take care!
@jgscastellon2 жыл бұрын
I need some of help in tha part of the database i started sqlyog but get this answer... "Error no. 2059 Authentication plugin 'catching_sha2_password' cannot be loaded"
@Dogcomp2 жыл бұрын
Sorry for later reply. This should be ans you looking for: rajlama.com.np/blog/solve-sqlyog-connection-error-error-no-2058-plugin-caching-sha2-password-could-not-be-loaded
@pushparajbhatta Жыл бұрын
Thank you for the great tutorial. I have an issue with Vite. I am able to run the vite server also whenever I change anything on vscode and save, it shows page reload on vscode console, but my website doesnot reload on chrome. How can I fix this ? Is this because the vite is sending reload to wsl and my chrome is on windows ?
@hendrikhuman14032 жыл бұрын
Hi, great tutorial! But can you please help me. When I run .vendor/bin/sail up -d at 4:50, I just get the error: "-bash: /vendor/bin/sail: No such file or directory" Any help will be appreciated, thanks!
@Dogcomp2 жыл бұрын
Thanks! You need to make you "cd" (change directory) into the laravel project folder. You can use "ls" to list the files/folder in the current directory. You should see "vendor" folder. Then you can only execute sail command. Hope it helps :-)
@AriusTigger2 жыл бұрын
Thanks, but how to config the APP_URL? in the browser instead of localhost?
@Dogcomp2 жыл бұрын
I found the same question for your query: stackoverflow.com/questions/66171148/laravel-sail-how-to-change-local-dev-domain However, you can also try my way: blog.devgenius.io/multi-laravel-sail-sites-with-custom-domain-e13c07d9dd0c Hope it helps!
@nubesdechocholate2 жыл бұрын
Me ayudo bastante junto con la documentación
@Dogcomp2 жыл бұрын
Estoy muy contenta de que ayude!
@vanhelsingx69x Жыл бұрын
At min 4:45 after i write the command ./vendor/bin/sail up -d I get an error "docker is not running" even if I opened the program. What can I do?
@Dogcomp Жыл бұрын
Maybe the integration of WSL is broken. Try uninstall docker and try again. You may visit my medium article in the description for more troubleshooting tips
@vanhelsingx69x Жыл бұрын
@@Dogcomp I tried some sugestions by chatgpt then my C drive was full, so yeah, I uninstalled an installed again and now it works fine. Anyway thank you very much this is the best tutorial for real, short and direct approach. Have a nice day! :D
@Dogcomp Жыл бұрын
Great that you able to solve by yourself! Keep learning :-) Please help to subscribe my channel and share my videos. Have a nice day!
@shot_gamer2 жыл бұрын
big thanks!
@yacobee2 жыл бұрын
the problem is migration fails after by php artisan migrate with base table error while I can connect to db !
@Dogcomp2 жыл бұрын
Maybe can you double check the .env file? Also try to php artisan cache:clear & php artisan config:clear so, it will read your correct db configuration from your .env file
@iMaty072 жыл бұрын
thank you!
@woosukbyun67803 жыл бұрын
what is the name of the database management tool in the video?
@Dogcomp3 жыл бұрын
The software is in the description. I will add shortcut in the video. thanks for telling me... • HeidiSQL www.heidisql.com/download.php
@khushboochoudhari96372 жыл бұрын
is cmd and windows terminal is diffnt from each other? i tried wsl on cmd and also on poweshell and later i tried curl command but i got curl not found error.. can you help me to know difference between two and if it is same why curl is not working in my systeam
@Dogcomp2 жыл бұрын
cmd is the MS-DOS age for some compatilities reason... powershell is to replace MS-DOS... however, Windows Terminal support WSL with BASH so Windows Terminal will cover everything you needs...
@gregoriokurniawan76862 жыл бұрын
this is amazing tutorial, simple but clear anyway i have problem when i access db from heidisql, i dont have access with username and password from env, can you help me?
@Dogcomp2 жыл бұрын
I am curious that your .env is not accessible... hmm... why?
@UnchartedWorlds2 жыл бұрын
I type code . inside Ubuntu cmd and I'm in laravel project folder and I get "Command 'code' not found, did you mean:". What is code . and why should it be there? What installs it? It's not part of linux? How does it work for you?
@Dogcomp2 жыл бұрын
It is the Visual Studio Code integration for WSL. if the code command is not working. you can try to google wsl code not found, there are plenty of reasons... hopefully you can find the solution.
@kutang9689 Жыл бұрын
I could not set alias for sail. please suggest what to do. thank u
@raziehzabihiasrami92642 жыл бұрын
that was perfect
@SXpitbull3 жыл бұрын
Awesome and straight to the point video! I just have one question. Vscode telling me to define php executable path but I don't have it installed on wsl how can I do that ?
@Dogcomp3 жыл бұрын
Thanks! You can watch another video on my channel: kzbin.info/www/bejne/ZnzNqqiYh8mnrKM It guides you to use the PHP executable in the docker image. Please subscribe to my channel for more videos!
@mictest11012 жыл бұрын
I am doing the same but laravel installing command is not working . Can anyone solve. rest of things are running well
@Dogcomp2 жыл бұрын
Try to refer official docs: laravel.com/docs/9.x/installation I don't think you still need Laravel Install, if you're using Laravel Sail Only single project in the Laravel Sail which is aldy deployed by the docker script : laravel.build/example-app
@afonsomaximino3 жыл бұрын
You're my saviour!
@Dogcomp3 жыл бұрын
Glad it helps you! Please also subscribe to my channel. Thanks!
@kapilvermasgnr2 жыл бұрын
How to use one or more laravel projects with sail?
@Dogcomp2 жыл бұрын
Laraval Sail only run single project, if you want multiple saild, you can include Nginx image for reverse proxy or multiple non-conflicting ports.
@sasastaja3 жыл бұрын
Hey, thanks for the good content you're providing, keep up the good work! Question: Can we put our project in windows desktop location and not on wsl location ?
@Dogcomp3 жыл бұрын
Using Windows Path will experience much slower in I/O. It is known limitation of WSL2.
@sasastaja3 жыл бұрын
@@Dogcomp So when we use Laravel in Docker, we should shift out mindset to WSL and not to windows path ?
@Dogcomp3 жыл бұрын
@@sasastaja Most probably you will use Linux Hosting when you publish to the internet. it is good to use Linux on your dev machine. you can read this for the performance comparison faun.pub/why-am-i-moving-away-from-homestead-for-laravel-sail-b8140b7f6f7e
@sivakhico24132 жыл бұрын
Perfekt !!!!
@Dogcomp2 жыл бұрын
Tack !!!! Prenumerera gärna på min kanal :-)
@kutang9689 Жыл бұрын
Thank u very much
@pouyagheitooli9 ай бұрын
Excelent and woking
@sampower78873 жыл бұрын
Wow, it was this easy after all! 1 question, I put my projects in my username/Projects instead of ~/... , does that make a difference I need to worry about?
@Dogcomp3 жыл бұрын
Hi, I'm glad it helped. For your question, if you putting the files in your Windows User Folder, the file performance will be very very bad. It is stated by Microsoft. You can read my blog here for more info: blog.devgenius.io/kickstart-your-laravel-web-app-using-laravel-sail-30276265e588#956e You can take a look of the actual performance test: faun.pub/why-am-i-moving-away-from-homestead-for-laravel-sail-b8140b7f6f7e *Please subscribe my channel for more videos. Thanks 😀*
@sampower78873 жыл бұрын
@@Dogcomp Ah I was actually noticing that but just assumed Windows gonna Windows. Thanks again!
@Dogcomp3 жыл бұрын
@@sampower7887 You're most welcome. Please do not forget subscribing my channel. Thanks a lot!
@seyidtakele81583 жыл бұрын
Helpful
@tomasbyrtus51212 жыл бұрын
Is there any way how to run it with hot reload?
@Dogcomp2 жыл бұрын
This is the article i wrote about Hot Reload blog.devgenius.io/quick-tip-laravel-mix-hot-reloading-in-sail-with-browsersync-555b6c97bca3 clap for me pls... thanks a lot. You may follow me in Medium too, hope the articles in my Medium could help you.
@jesushernandez60523 жыл бұрын
Thank you for this tutorial! It's been great so far, but I'm running into a bit of an issue: on the step "Install Laravel Sail", when I run wsl on windows terminal it doesn't do anything, just gives me another line that start with PS C:\Users\[User]>. Do you know what I can do to get into Ubuntu?
@Dogcomp3 жыл бұрын
what is the output if you try "wsl -l -v"?
@jesushernandez60523 жыл бұрын
@@Dogcomp NAME STATE VERSION * docker-desktop-data Running 2 Ubuntu Running 2 docker-desktop Running 2
@Dogcomp3 жыл бұрын
@@jesushernandez6052 you need to set Ubuntu as default distro Using this command " wsl -s Ubuntu" Hope it solves your problem.
@jesushernandez60523 жыл бұрын
@@Dogcomp Thank you! That worked
@mjdbaga3 жыл бұрын
Hi. Great tutorial. However, I'm stuck on running wsl, saying "An error occurred mounting one of your file systems. Please run 'dmesg' for more details." When I run dmesg, it says "dmesg : The term 'dmesg' is not recognized as the name of a cmdlet, function, script file, or operable program." Been at it for a few hours now, and resources online says check my kernel. It's currently the latest one which is 5.10.43. Can you point me in the right direction? Thanks.
@Dogcomp3 жыл бұрын
_dmesg_ should be a linux command. Maybe you should try to reinstall your WSL2. First, you uninstall your Ubuntu (Settings -> App -> Ubuntu -> Uninstall) Then remove the WSL _dism.exe /online /disable-feature /featurename:VirtualMachinePlatform_ _dism.exe /online /disable-feature /featurename:Microsoft-Windows-Subsystem-Linux_ Then restart computer & reinstall WSL2 you may also refer the text version: medium.com/p/30276265e588 easier for you to copy paste... Waiting for your good news!
@mjdbaga3 жыл бұрын
@@Dogcomp Hi. Thanks again. Followed instructions to the tee. Still the same. Wondering if there are other factors?
@Dogcomp3 жыл бұрын
@@mjdbaga Hi, it seems like not very straight forward to fix your issue. Maybe you can like my FB Page: facebook.com/dogcomp.soln We can talk via Messenger.
@mjdbaga3 жыл бұрын
@@Dogcomp Hi, I read somewhere that it might be an issue with Windows 11 as I'm running insider build.
@Dogcomp3 жыл бұрын
@@mjdbaga Actually i tested in the first leaked build... it shows no issue... maybe you can take a look kzbin.info/www/bejne/hYfRkK2crLytncU hopefully reinstall WSL should help.
@canawarnet2 жыл бұрын
thanks a lot
@bc00783 жыл бұрын
Nice tutorial. How do I add more websites? Since I have more projects, each with their db
@Dogcomp3 жыл бұрын
Glad that you enjoyed the tutorial. Currently, Laravel Sail do not support multiple project out-of-the-box. It is not very straightforward to make it support. Please Subscribe my channel and I will come across this topic in the near future. thanks!
@Dogcomp3 жыл бұрын
@bc0078 Another workaround is to set _APP_PORT=12345_ in your _.env_ file so you can run multiple Laravel Sail Instance with different ports. Other services _FORWARD_DB_PORT_ , _FORWARD_REDIS_PORT_ , _FORWARD_MEILISEARCH_PORT_ , _FORWARD_MAILHOG_PORT_ , _FORWARD_MAILHOG_DASHBOARD_PORT_ are required to be set by per project base to avoid conflict.
@Dogcomp3 жыл бұрын
I have created an article to teach you how to step-by-step to achieve what you want. medium.com/p/e13c07d9dd0c Please Subscribe to my channel for the video that talks about this too.
@Dogcomp3 жыл бұрын
This is the new video talks about your query: kzbin.info/www/bejne/hGTYh4htidRleMU
@350studio62 жыл бұрын
Does it havew SSL support ?
@Dogcomp2 жыл бұрын
You can take a look my another video: kzbin.info/www/bejne/ZnzNqqiYh8mnrKM thx for leaving the comment :-)
@siangboongoh30763 жыл бұрын
How can we custom the ports? I have mysql installed and running in my local pc, i want to keep my existing mysql instance on my pc and use custom port for Laravel Sail
@Dogcomp3 жыл бұрын
the simplest way is adding FORWARD_DB_PORT={YOUR PORT NUMBER} in the .env then sail down and up again... You can watch this kzbin.info/www/bejne/hGTYh4htidRleMU for more about customizing the port and multiple Sail project with custom Domain Please SUBSCRIBE my channel for more Laravel & programming videos. 😁
@siangboongoh30763 жыл бұрын
@@Dogcomp thanks! Subscribed too.
@imintoMusic2 жыл бұрын
hellooo how can i import project in docker? i paste it inside the home directory. but i cant see it inside the docker app to run it
@Dogcomp2 жыл бұрын
I think you are trying to host multiple Laravel projects like Homestead? you may take a look my another video: kzbin.info/www/bejne/hGTYh4htidRleMU the Laravel Sail was working for single site only
@ali-ozen3 жыл бұрын
Great tutorial. I have one question. How can we use "sail commands" in vscode? It says: "Command 'sail' not found". But powershell works like a charm. Anyway i want to execute sail on vscode. I am stuck, any help :/
@Dogcomp3 жыл бұрын
if you run "code ." in the laravel project root, you can open VS Code with WSL connection, in the Terminal of VS Code, you can run "sail up -d" you can see "[WSL: UBUNTU]" on the VS Code project tree You can read about my article for the WSL & VS Code integration blog.devgenius.io/kickstart-your-laravel-web-app-using-laravel-sail-30276265e588#4944 Please Subscribe my channel and tell me what you'd like want to watch... 👍
@ali-ozen3 жыл бұрын
@@Dogcomp i did this already but vscode terminal still not work :( Should i change default vscode terminal?
@Dogcomp3 жыл бұрын
@@ali-ozen if you try "./vendor/bin/sail up -d" is it working ?
@subhamchhetri55412 жыл бұрын
how do I create multiple more projects?
@Dogcomp2 жыл бұрын
you may watch my another video for hosting multiple project: kzbin.info/www/bejne/hGTYh4htidRleMU
@samuelrickoperdanaputra4083 жыл бұрын
Hi! I already setup the laravel sail at my wsl2, but why it's little bit slower than I expected. The folder project is already inside the WSL2. Have you any suggestion for that's problem?
@Dogcomp3 жыл бұрын
Is your Windows 10 updated to the latest build? You may reinstall the WSL2 and Docker to the latest edition and remember to check _wsl -v -l_ make sure it is running on WSL2. the file access is only fast within the Linux Filesystem. For Windows to WSL, it is still slow. Read the Microsoft post: docs.microsoft.com/en-us/windows/wsl/compare-versions You may read my article about speed testing... faun.pub/why-am-i-moving-away-from-homestead-for-laravel-sail-b8140b7f6f7e
@chengweiyap95182 жыл бұрын
awesome
@nadiaamouee81992 жыл бұрын
after i run sail up i get the error docker is not runing but it is running in backgrount!
@Dogcomp2 жыл бұрын
Maybe you should try to clean install the docker and the wsl2 learn.microsoft.com/en-us/windows/wsl/troubleshooting