I love you! I am searching for a course like that months now. PS: In general I think devops with Laravel is something that many people need, keep it in mind for future courses maybe :)
@LaravelDaily2 жыл бұрын
Yes, future courses around that are in plans, but probably in 2023.
@ellmatic2 жыл бұрын
7:36 I'm a bit confused by which branch GitHub Actions should be set up on. Should we do the initial yml setup on develop, staging, AND main branches? We do our work on other branches, then push to develop, it runs the tests on develop. When ready for staging (client review), we push to staging, it runs tests on staging. When ready for production, we push to main, it runs tests on production. Is this a good workflow? Thanks for all the great content!
@LaravelDaily2 жыл бұрын
A great point actually, for this example I just wanted to show how to automate the tests, on whatever branch, but in real-life scenario the Action should be on a PR from feature branch to develop, in most cases. Running tests on production is a very rare case, in my opinion, do it only if needed and you know what you're doing. Playing with production data/environment is pretty dangerous.
@ellmatic2 жыл бұрын
@@LaravelDaily Thanks for the helpful reply. That makes total sense now!
@stefersonpatake2 жыл бұрын
Yeah, the purpose of staging environment is just like that, to have data, the latest branch release and test everything like it were on production. Like Povilas pointed out, its very dangerous approach.
@ezz_dev8 ай бұрын
My project is with mySQL what should I change in the code?
@w1z_pointblank Жыл бұрын
Awesome Video ! thanks for the video
@coolcha2 жыл бұрын
Awesome video again, I added CI just last week on my project. A tip is to look at other laravel repos to see their workflows too. One question is you covered CI but didnt really cover CD. Could you highlight that a bit more please.
@LaravelDaily2 жыл бұрын
Yeah, I kinda merged it into one topic because people view it as one. I don't want to get TOO deep into deployment and devops stuff at the moment, planning deeper courses on that later in 2022.
@coolcha2 жыл бұрын
@@LaravelDaily looking forward to the course. Thanks.
@hari10422 жыл бұрын
is it possible to laravel parallel test (php artisan test --parallel) in github action ?
@LaravelDaily2 жыл бұрын
Haven't tried.
@mostafijurrahman41958 ай бұрын
Sir I trying to deploy with Samkirklan ftp deploy ... here folder created but file not uploaded please help me
@chrismiracle2042 жыл бұрын
Thank you so much for this detailed video. I have an error on my testcases on Github actions. SQLSTATE[HY000] [2002] Connection refused Is this something with migrations?
@LaravelDaily2 жыл бұрын
No, connection refused means something is wrong with the database setup - either database wasn't launched, or wrong database, or wrong credentials.
@intipontt74902 жыл бұрын
Do you know a good Action to set up a MySQL or PostgreSQL database? I prefer using the same DBMS in my tests, development and production environments.
@LaravelDaily2 жыл бұрын
I haven't searched for it, to be honest, but a good idea for me to research in the future.
@morehungrykoala2 жыл бұрын
can you create a guide for CI/CD auto deployment? can't figure how to make it work and would really make it easier when deploying to test boxes.
@LaravelDaily2 жыл бұрын
It depends a lot on the web-server and tools you use, like Envoyer/Deployer/Forge etc. Maybe in the future I will talk about it, but, to be honest, I would like to stick with Laravel more, and leave DevOps topics to others.
@bestsolution7942 жыл бұрын
Thanks you for providing the awesome series. Can you please make a series on the live chat using socket or web socket without using the vue js.. Please use only html css
@alvinellavu96032 жыл бұрын
Yes am with you on this, it just has to be a demo
@LaravelDaily2 жыл бұрын
You can't build a socket functionality like chat with just html/css, you need tools like Soketi and/or Laravel Echo. Planning to talk about it in the future, but a bit later, currently have other topics in mind.
@bestsolution7942 жыл бұрын
@@LaravelDaily sure
@unitaxi16442 жыл бұрын
Hi! I have subscribed to yearly membership last year. I am really enjoying by your courses there. But now I need pay for new year. The system have tried to get money from my card but there was not enought money for the payment. So now how can I pay manually the bill?
@LaravelDaily2 жыл бұрын
To be honest, I don't know how it looks from student's side on Teachable platform. Somewhere there you should find a menu item like Subscription? Or maybe just purchase a new subscription by going to the course page directly? Or email support@teachable.com for support, unfortunately it's not my platform (for now) so I can't help much.
@ayenewyihune2 жыл бұрын
Helpful, thanks
@jayjolupoi888912 жыл бұрын
awesome video, as always your video is really helpful and very applicable in real project. btw, do you have a sample project repository or a full laravel library repository which has a good automation test case on all the feature ? been learning of TDD and trying to apply it in my personal project but still can't stop being skeptical on making test on everything. its hard for me to figuring out what priority to test, is it controller, or the service and logical part or what kind of other part ? i mean when i see tutorial and automation test demontration usually they only gave an assertion of sample math logic or database record match, which make me questioned is it really necessary to test that part of the code ?
@LaravelDaily2 жыл бұрын
laraveldaily.com/code-examples/tag/testing look at projects here