omg finally. First I tried to build through SSH on hostinger shared server but I ran into many errors. Then I realized I can just build it locally and upload the node modules en build folder. With the help of this tutorial it's finally working! thanks!
This has driven me crazy for 3 days. Your tutorial solves it for me. I just don't understand why it works. Note: I had a dir structure "assets core index.php" vite built into assets. The core directory is laravel-core. I configured my public_path() to point to assets. Yet it loads without the css and js. I moved out the build from assets directory, to same directory as index.php and core, deleted assets directory, put the manifest.json into "public/build" and it started working.
Actually what i do to deploy laravel is create new dir with the name of project lets say Blog then inside this dir i create another dir i call it src and i put all laravel files and folder inside src folder then i move all files and folder from public folder to root folder which is Blog then i change index.php like what you did in 5:00 and all thing will work as a charm .
First of all, thanks a lot for this amazing tutorial and it worked on my end smoothly. But I got one follow up question, what if I have changes on the project and I want to update the server for this? Should I overwrite everything from the current working setup in the server? Thanks in advance.
Thank you for your comment. I'd say it depends on amount of changes you want to make on your project. If they are minor changes, I'd personally just do it directly on the server without taking down the site, but if it's a big upgrade or change then I'd suggest backup everything and then upgrade.
@@LearnWithJonVadar Thank you so much for the reply, I really appreciate it. However, I tried your suggestion to directly update minor changes on the server. Like simple changing text from Home.vue file, but it did not reflect to the site. Does it need to run npm again?
do i need to move my css, js, views folder from resources to public folder? and do i need to run "php artisan build" first when i wanna deploy my laravel? anyway thanks, nice video!
The size of my Laravel file is 2.5 GB. What is the reason of this? Do I need to downsize? If so, can you help me how to make it smaller? vender file 2.3gb
And letters C, V, X and Ctrl on your keyboard don't work, just to make it a bit more challenging? 😂 Seriously, change your hosting provider. Hosts that provide ssh access, git, composer, etc... aren't that expensive any more. Even the biggest cheap-asses (of all companies I work with) started using such hosts.
hello, i want to ask, why does my phone does not rendering the tailwind css in laravel, i am still using php artisan serve --host myip address to test if my laravel project is working properly in my mobile phone
Thanks for the tutorial. 1) Unable to edit or delete, 403 error, Unauthorized action. 2) Unable to open path "storage/posts_images/fycDLFeHznPbdVgg0waGczTa4we0NhGJ4aB84VWw.jpg".
Best Tutorial hands down. Other ones always gave me errors like css not compiling or vite manifest not found etc. This has no flaws
This was an absolutely amazing Laravel tutorial series. Thanks so much for making these videos available on RUclips.
omg finally. First I tried to build through SSH on hostinger shared server but I ran into many errors. Then I realized I can just build it locally and upload the node modules en build folder. With the help of this tutorial it's finally working! thanks!
This has driven me crazy for 3 days.
Your tutorial solves it for me.
I just don't understand why it works.
Note: I had a dir structure "assets core index.php" vite built into assets. The core directory is laravel-core. I configured my public_path() to point to assets. Yet it loads without the css and js.
I moved out the build from assets directory, to same directory as index.php and core, deleted assets directory, put the manifest.json into "public/build" and it started working.
You are a Gem man. After searching for 3 days I finally found the right video to deploy my laravel app. Thumbs up Man
mysql will work fine maybe the problem with your shared host but you did great job .. thanks for you sharing
Actually what i do to deploy laravel is create new dir with the name of project lets say Blog then inside this dir i create another dir i call it src and i put all laravel files and folder inside src folder then i move all files and folder from public folder to root folder which is Blog then i change index.php like what you did in 5:00 and all thing will work as a charm .
First of all, thanks a lot for this amazing tutorial and it worked on my end smoothly. But I got one follow up question, what if I have changes on the project and I want to update the server for this? Should I overwrite everything from the current working setup in the server? Thanks in advance.
Thank you for your comment. I'd say it depends on amount of changes you want to make on your project. If they are minor changes, I'd personally just do it directly on the server without taking down the site, but if it's a big upgrade or change then I'd suggest backup everything and then upgrade.
@@LearnWithJonVadar Thank you so much for the reply, I really appreciate it. However, I tried your suggestion to directly update minor changes on the server. Like simple changing text from Home.vue file, but it did not reflect to the site. Does it need to run npm again?
So you don't need to run node modules?
do i need to move my css, js, views folder from resources to public folder? and do i need to run "php artisan build" first when i wanna deploy my laravel?
anyway thanks, nice video!
The size of my Laravel file is 2.5 GB. What is the reason of this? Do I need to downsize? If so, can you help me how to make it smaller? vender file 2.3gb
Nope you don't need, just upload it. I have same size as you
Do you have photos or videos in your project when you’re deploying it?
how about if there's no terminal in my cpanel? and I unable to using SSH too. I only can access using FTP
And letters C, V, X and Ctrl on your keyboard don't work, just to make it a bit more challenging? 😂 Seriously, change your hosting provider. Hosts that provide ssh access, git, composer, etc... aren't that expensive any more. Even the biggest cheap-asses (of all companies I work with) started using such hosts.
Thank You alot.
Thanks a Lot!!!!! Subscribed ❤
hey after hosting that application on cpanel. can we share that cpanel link to other people and will application still work when they open up the link
symbolic link is mandatory?
hello, i want to ask, why does my phone does not rendering the tailwind css in laravel, i am still using php artisan serve --host myip address to test if my laravel project is working properly in my mobile phone
I followed the entire tutorial video and even repeated it, but why does my project return error 500?
.env cek lagi bang
same
@@CodeFixing dah bener
is it free or paid?
Thank you so much for course.
Thanks
Bravo
please provide your hosting provider name
thank you for this course
i have a issue, 500 internal server error, log not created, i think this is permission issue
Try changing the php version to that on your local machine
How many topics are left?
None for this project. I may work on another project with a starter kit and more features from Laravel. 😊
Ok thx for the crash course i loved it.@@LearnWithJonVadar
thanks
Is cpanel free?
cPanel comes with the hosting provider that you need to purchase.
@@LearnWithJonVadar What provider are you using pls?
500 error just like some people here
Thanks for the tutorial. 1) Unable to edit or delete, 403 error, Unauthorized action. 2) Unable to open path "storage/posts_images/fycDLFeHznPbdVgg0waGczTa4we0NhGJ4aB84VWw.jpg".
This is free? @every one