Currently I'm using Digital Ocean droplets and a server management and devops service called Ploi. Not the cheapest option since you end up paying for two things, but I have found it to be convenient especially for Laravel/Statamic, and since I'm not the most knowledgeable when it comes to configuring and managing servers 😅
Thanks for such a great video. I would like to add one free option (good for prototyping or MVPs) Render. The only downside with Render is that you need to deploy it as a docker container but they do have a Laravel template which needs few modifications.
@@aschmelyun I already know how to set up Dockerfile and docker-compose but don't know how to integrate it with Gitlab and always run tests and deploy to public server.
@@Dommmin Ahh, okay. If you haven't purchased it already, I have my course on laraveldocker.com that is going to have a massive update soon that'll cover CI/CD stuff. I'm also planning a couple videos in the next few months to cover some of those topics more in depth too!
Nice content. Thank you Andrew. But I wonder why you didn't include Forge. Is there any particular reason? Wondering since it has been one of the first SasS for deploying Laravel and it come from Laravel team itself 😃 I have been using it for over 7 years now and really happy with it
For security, you don't want to make your env file and other sensitive data available for every one. If you put all in public_html you expose all those data to public...
@@adisonmasih try it and let us know ! The problem is : public_html is accessible for everyone so they can list your files. So you need to put only public folders/files at this level and avoid all the headache. It is a best practice. Also, i think that shared hosting is not the best solution for deploying apps, so put some extra money and effort and live in peace. (Exp: digital ocean start with 5$ and you're good to go with full control on your server...)
Hi Andrew, many of th times I run into problem of lower base PHP of server vs higher required by my app in shared hosting so I won't be able to run any artisan command there. What can be a solution to this in the shared hosting?
It's so awesome that you included the OG of all deployments with cPanel shared hosting!
Of course, had to give a shout out to what started my entire career lol
Thank you, there are so few videos about deployment out there. This really helps.
Was stuck deploying a laravel app on cpanel for 2 days...with your solution did it within 10mins. Thanks
Currently I'm using Digital Ocean droplets and a server management and devops service called Ploi. Not the cheapest option since you end up paying for two things, but I have found it to be convenient especially for Laravel/Statamic, and since I'm not the most knowledgeable when it comes to configuring and managing servers 😅
I've seen a bunch of people mention Ploi after this video came out, I'll definitely have to give it a shot!
Thank you sir for including options
Very informative video. One question, how much does adding React with inertia to the mix changes things?
Thanks for such a great video. I would like to add one free option (good for prototyping or MVPs) Render. The only downside with Render is that you need to deploy it as a docker container but they do have a Laravel template which needs few modifications.
Oooh, I've never heard of Render. I'll have to check it out!
And the link for cpanel instructions is missing
Thanks for this video it is very comprehensive.
I'm glad you liked it!
Great video. Thank you Andrew.
I might be late, deployed on vercel, for some reason tailwind css not loading, on my machine I can use 'npm run dev', any suggestion?
Which are you recommend. Pick one
Great video. Thank you.
I personally use Laravel Forge.
Laravel Forge is definitely one of the best options.
Sir, I have used the laravel vapor method. But after successful deployment, there is '500 | SERVER ERROR' in the link.
did you solve it?
Maybe, you should work on little in env file
I'm fond of cloud ways. It will spoil you with their deploy feature.
Can you add course how to configure CI/CD pipelines Gitlab / Azure with docker (Vue, Laravel and Traefik)?
Sure! Is there anything in particular you'd want to learn?
@@aschmelyun I already know how to set up Dockerfile and docker-compose but don't know how to integrate it with Gitlab and always run tests and deploy to public server.
@@Dommmin Ahh, okay. If you haven't purchased it already, I have my course on laraveldocker.com that is going to have a massive update soon that'll cover CI/CD stuff. I'm also planning a couple videos in the next few months to cover some of those topics more in depth too!
@@aschmelyun thanks! I didn't know about it.
Nice content. Thank you Andrew. But I wonder why you didn't include Forge. Is there any particular reason? Wondering since it has been one of the first SasS for deploying Laravel and it come from Laravel team itself 😃 I have been using it for over 7 years now and really happy with it
Because I put in Vapor and was already using DigitalOcean I just decided to leave out Forge. But I also love the product as well, and use it myself!
I don't understand why in the first method, why won't you just place all of the code in the public_html folder itself!
For security, you don't want to make your env file and other sensitive data available for every one. If you put all in public_html you expose all those data to public...
@@abdelwahabs.301 well then i'll just modify the permissions of the .env file wouldn't i?
@@adisonmasih try it and let us know ! The problem is : public_html is accessible for everyone so they can list your files. So you need to put only public folders/files at this level and avoid all the headache. It is a best practice.
Also, i think that shared hosting is not the best solution for deploying apps, so put some extra money and effort and live in peace. (Exp: digital ocean start with 5$ and you're good to go with full control on your server...)
Hi Andrew, many of th times I run into problem of lower base PHP of server vs higher required by my app in shared hosting so I won't be able to run any artisan command there. What can be a solution to this in the shared hosting?