Be sure to check out the next video in this series at kzbin.info/www/bejne/aKKtnK2Nf7OjoLM OR To set up a Dev ENV on Windows WSL 2 kzbin.info/www/bejne/lXmUmn6OoNidfJI
@Beachcasts5 жыл бұрын
Or you can see the full playlist here: kzbin.info/aero/PL6_nF0awZMoMol4RPLf99WIZuoJ3l87oG
@dr.adam.nielsen4 жыл бұрын
At 11:16 - what did you paste in their?
@Beachcasts4 жыл бұрын
The contents was a normal block I use in most of my standard docker-compose.yml. You can see the current contents here: github.com/Beachcasts/doctrine-expressive-example/blob/master/docker-compose.yml
@Tux0xFF4 жыл бұрын
Im thinking about giving docker a try, but based on your experience working with docker, how easy or difficult do you think this scenario will be to setup correctly on docker? 1) setup "supervisor" which is a daemon running on the background and listens to jobs/queues such as sending emails, this is helpful in a scenario where you have hundreds or thousands of users filling out a form and they are all active around the same time and your application sends a confirmation email to them, the server will delay several seconds in giving them a success message even if its via ajax or axios since it is being routed and with thousands of users this may take minutes before they see a success message or simply leave the page. Supervisor fixes this issue by putting that email in a queue and gives the user immediate feedback, they dont have to wait until the email is sent, it is sent in the order it was received by supervisor. 2) Installing additional packages to the server, one example was "supervisor" but there may be other packages that may need to be installed for more advanced applications. With Homestead/Vagrant everything can be achieved since its a box same as the one you would be running at Digital Ocean where you can ssh and do anything. Does docker allow for these type of features ? without polluting the main Ubuntu Desktop?
@Beachcasts4 жыл бұрын
I believe that doing what you mention is achievable through the Dockerfile. Let me know how it goes.
@joepearson61114 жыл бұрын
are there any benefits to running docker over not using it for laravel development?
@Beachcasts4 жыл бұрын
I use Docker for most of my development, Laravel or other. Though I've not made the jump to using it for production, yet.
@tiagoafranco2 жыл бұрын
Error up docker-in-docker on Ubuntu 20.04, whats is this?
@Beachcasts2 жыл бұрын
Thanks for watching. Can you be more specific about your question? I'm not sure what you're asking.
@markjenkins12175 жыл бұрын
Passion the video-- very individual pleasant and whole lots to see!
@Beachcasts5 жыл бұрын
Thank you Mark.
@TimRoseOfficial5 жыл бұрын
Congrats on starting your channel! Great video and a BIG LIKE from me! Blessings to you! :)
@Beachcasts5 жыл бұрын
Thanks, glad you enjoyed it.
@adamhamayun27453 жыл бұрын
In my case after command "laravel list" shows laravel: command not found
@Beachcasts3 жыл бұрын
Maybe the latest version removed that command. I'll look into it. Thanks for watching.
@RichellyItalo4 жыл бұрын
Works to me. Really thanks.
@Beachcasts4 жыл бұрын
You're welcome!
@RaverDK5 жыл бұрын
Nice to see some Laravel stuff here. Would love to see some videos on how to setup more advanced docker development environments for Laravel (Things like running schedulers and websockets, handling migrations inside of docker). Also how to go from development to deployment would be pretty neat. Thanks for the videos!
@Beachcasts5 жыл бұрын
Thanks for the ideas. Glad you enjoyed the vid.
@jazielkamryn77353 жыл бұрын
instablaster
@peter279k815 жыл бұрын
I also recommend the Dockerfile can be published on Docker hub so that it can be easy for developers to use Docker to build a Laravel container :). The developers can use the `docker pull user_name/laravel_starter_dock to download a Docker image.
@Beachcasts5 жыл бұрын
Great idea.
@anatolyrodriguez69355 жыл бұрын
I followed the steps, but his error is showing when I hit localhost:8080 Fatal error: Uncaught ReflectionException: Class view does not exist in /var/www/vendor/laravel/framework/src/Illuminate/Container/Container.php on line 752
@Beachcasts5 жыл бұрын
Maybe the directory permissions are not correct on the 3 core directories. Did you set those as in the video?
@marekmikusek16844 жыл бұрын
Hi, thanks for WORKING project tutorial. I'd like to ask where I can find Dockerfile version for php7.4, please. Replacing 7.2 from attached repo code doesn't work and I have no time to learn everything.
@Beachcasts4 жыл бұрын
You can find all the official PHP images at hub.docker.com/_/php
@anatolyrodriguez69355 жыл бұрын
To Add I tried to run php artisan inside docker image This is the error showing: Parse error: syntax error, unexpected '',' (T_ENCAPSED_AND_WHITESPACE) in /var/www/vendor/composer/autoload_static.php on line 376 What am I doing wrong T_T
@Beachcasts5 жыл бұрын
Looks like you got some extra characters somewhere. Perhaps try 'composer dump-autoload' and see if forcing Composer to create a new autoload configuration fixes it.
@ivena4 жыл бұрын
Thanks for your video very helpful, I have question how can I re back exported project to laravel project? If you can help please
@Beachcasts4 жыл бұрын
My only tip for that is to take things a step at a time, and refactor in small steps.
@latlov5 жыл бұрын
13:15 Dockerfile
@Beachcasts4 жыл бұрын
Glad you found that spot helpful.
@kauekilha925 жыл бұрын
how do I install laravel on windows 10 with docker
@Beachcasts5 жыл бұрын
I'm sorry, but since I don't develop in Windows I don't have any tips for you in that area. I think the process would be similar, but file and directory permissions would change.
@dylanoldham41375 жыл бұрын
How do I run the MySQL Client?
@Beachcasts5 жыл бұрын
The client should be running already, but you may need to adjust the exposed port to your host machine. Maybe the follow-up video about the model will contain extra info that may help. kzbin.info/www/bejne/nn6UZGiaha9kmq8
@peter279k815 жыл бұрын
You can also use `source ~/.bashrc` without reopen the terminal :).
@Beachcasts5 жыл бұрын
Perfect. Thank you!
@harrisongreeves85615 жыл бұрын
If anyone gets a MYSQL State error you may need to change 'mysql-client' to 'default-mysql-client' in your Dockerfile.
@Beachcasts5 жыл бұрын
Thank you. I'll give that a try. Was switching to mariadb client because I didn't know Debian offered what you suggest.
@harrisongreeves85615 жыл бұрын
@@Beachcasts Yeah it took a lot of searching on StackOverflow to find that solution haha. Thanks for the video.
@khaledayed43925 жыл бұрын
Good job thanks !
@Beachcasts5 жыл бұрын
Thanks for coming by, and thank you for watching.
@downforce0075 жыл бұрын
Subscribed to your channel
@Beachcasts5 жыл бұрын
Thank you
@WEBOSBRASIL5 жыл бұрын
I love your videos and well recommend them. Now where is the sample code for this one?
@Beachcasts5 жыл бұрын
Thanks for watching. Since this was just a default install, I have not uploaded the sample code. Now that Laravel v 6 is out, I will likely revisit this in a new video and make that code available after upgrading it to v 6.
@youssefvideotube5 жыл бұрын
You have made my day ! Thank you so much ! Can you please upload the container-build/web/Dockerfile ?
@Beachcasts5 жыл бұрын
Thank you. You can find it in the repo at: github.com/Beachcasts/doctrine-expressive-example. It is the same Docker setup.
@KokilaHettiarachchi4 жыл бұрын
Thank you
@Beachcasts4 жыл бұрын
You're welcome
@MikeGlover5 жыл бұрын
Totally misleading title. Here to setup laravel in docker and he already has laravel installed on machine. Doesnt cover install docker at all
@Beachcasts5 жыл бұрын
Thanks for watching. Yes, you're correct. I install Laravel locally, then map that location into the Docker container as a volume. (see 11:00) This is the best way to get Laravel running inside a container for local development. Hope that helps.
@Nscape-dl2js5 жыл бұрын
and people say windows is bad for development ?, just install laragon click create project and forget about all this.
@Beachcasts5 жыл бұрын
Thanks for watching and sharing. Everyone has different needs and desires of how they want/need to work.
@redwrox82944 жыл бұрын
Request you for provide me demo of uploading my existing WordPress project with Docker. I want to access it with www..int or if .com is possible.
@Beachcasts4 жыл бұрын
I'll give that some thought. Haven't tried WordPress in Docker yet. Might be fun.
@redwrox82944 жыл бұрын
@@Beachcasts Once you upload your video then pl send me link. Thanks for your support.
@Meeshalkumar4 жыл бұрын
Bs
@Beachcasts3 жыл бұрын
Hope you found something useful. Thanks for watching.
@Meeshalkumar3 жыл бұрын
@@Beachcasts hey man, I did not like the video and I didn't watch it. So, i found nothing, and i don't need your thanks. But keep doing what you do, one day you'll be successful in it. 👍 Do you know what BS means?
@Beachcasts3 жыл бұрын
@@Meeshalkumar Thank you for the reply. Sorry to hear you didn't watch and therefore don't know if it was the BEST SERVICE (BS) on KZbin or not. But glad you found some reason to take time from your busy day to share how much you enjoyed the video. As you're likely aware, I try to help others whenever I can. And judging by your wonderful feedback, and the number of helpful videos you've created, you do too. So, thank you.
@Meeshalkumar3 жыл бұрын
@@Beachcasts dude, just give up. I am not that kind of person who gets offended. Anyways i see that you're hurt. You shouldn't be. People can be much more brutal than me. BTW BS means Bull Shit. Anyways, Best of luck.
@Beachcasts3 жыл бұрын
@@Meeshalkumar To the contrary, I'm having fun at your expense. It takes a special person to do what you're doing. :P