How To Deploy Laravel 8 Project | Deploy Laravel Through FileZilla | Laravel 8 Project Hosting

แชร์
ฝัง
  • เผยแพร่เมื่อ 23 ก.ย. 2024

ความคิดเห็น • 157

  • @codewithdary
    @codewithdary  2 ปีที่แล้ว +5

    LETS CONNECT THROUGH INSTAGRAM.
    instagram.com/codewithdary

  • @alebiedma
    @alebiedma 3 ปีที่แล้ว +35

    Remember to set the APP_DEBUG value to "false" in production, since we don't want users to see the errors that could possibly show and the paths for that information. Great tutorial, thanks for the video :)

  • @gietece
    @gietece 3 ปีที่แล้ว +13

    Idea for next video - would be nice to know how to prepare project for production deployment eg. compile assets (like npm run prod etc) :)

    • @codewithdary
      @codewithdary  3 ปีที่แล้ว +8

      This will definitely be done when I create a new project in the future. Will deploy a project through CLI. Thanks buddy!

  • @edphonez
    @edphonez 2 ปีที่แล้ว +1

    This was awesome.. I got paid a dev to create something for me and now I can put it on my server.. Nice.. thanks..

  • @joerivandeweyer3056
    @joerivandeweyer3056 2 ปีที่แล้ว

    this is very much made in the perspective of the following noob, for which you are much obliged
    very helpful and pleasant to follow

  • @jeffbee6090
    @jeffbee6090 3 ปีที่แล้ว +1

    thank you so much! very little info on how to deploy websites --especially Laravel!

  • @АлексаЕрић
    @АлексаЕрић 3 ปีที่แล้ว +1

    This is excatly what I needed right now.

  • @lloydmensah6804
    @lloydmensah6804 ปีที่แล้ว +1

    Followed this tutorial but when i go to the website url i see this : " Forbidden. You don't have permission to access / on this server. "

  • @keshavthakur5990
    @keshavthakur5990 3 ปีที่แล้ว +2

    Very nice video
    please make a laravel project,
    How to work with live project in company,
    thanks .

    • @codewithdary
      @codewithdary  3 ปีที่แล้ว

      Might do in the future buddy :)

  • @lucasanfilippo5370
    @lucasanfilippo5370 3 ปีที่แล้ว +1

    Really good and simple.. when you are looking for tutorial you Always come into some oriental guy course. Some of them are really good, but most of them are a Little confusing. It was a while since I didnt find a such a clear and Easy video. So, thumb up and notification bell.. Thank you. P.s. my english is probably not the top of the list..

    • @codewithdary
      @codewithdary  3 ปีที่แล้ว

      Simplicity is key! Thank you so much man. Don’t worry about your English, it’s actually very good!

  • @bedhed3000
    @bedhed3000 2 ปีที่แล้ว +1

    This was helpful, thanks. I had to make 1 additional change, since my site is inside of a sub-folder of public_html:
    In AppServiceProvider.php I had to add this to the register function -
    $this->app->bind('path.public', function() {
    return '/path/to/public_html/subfolder';
    });

  • @danielrgh
    @danielrgh 2 ปีที่แล้ว +2

    So useful man👌👌

    • @codewithdary
      @codewithdary  2 ปีที่แล้ว

      Glad to hear that Daniel

  • @devhenry9054
    @devhenry9054 2 ปีที่แล้ว +1

    Hello i need your little help regarding update project on live server.
    I had already deployed my project on live server.. after that i have many changes and added new database table also. Now how should i update project file and database without losing old data on live server... ?

  • @this.channel
    @this.channel ปีที่แล้ว

    Thanks Dary, once again you have really helped me out.

  • @danasugu1767
    @danasugu1767 3 ปีที่แล้ว +1

    Thanks, great tutorial! Your wallpaper is awesome!

  • @muhammadhashiranwaar3239
    @muhammadhashiranwaar3239 3 ปีที่แล้ว +1

    I LOVE YOU MAN.....

  • @LeeWaiHong
    @LeeWaiHong ปีที่แล้ว +1

    Thank you

    • @codewithdary
      @codewithdary  ปีที่แล้ว

      You're welcome Lee Wai Hong!

  • @lukaskubica
    @lukaskubica ปีที่แล้ว +1

    Thank you for this Video!

  • @vincentogunjimi5353
    @vincentogunjimi5353 3 ปีที่แล้ว +1

    Hi Dary great video ! But i'm having trouble with the storage link to public, its not working, can you show how to properly handle it?

  • @muhammadhashiranwaar3239
    @muhammadhashiranwaar3239 3 ปีที่แล้ว +1

    Please make a video for Modules.

  • @sunil951
    @sunil951 ปีที่แล้ว +1

    Not working as the vendor folder missing in the project. Pleas correct it.

    • @codewithdary
      @codewithdary  ปีที่แล้ว

      Of course I'm not pushing the vendor directory to git, you should run composer update if you clone the project, lol.

  • @donaldmjbart-williams3144
    @donaldmjbart-williams3144 2 ปีที่แล้ว +2

    Hello Dary! what about uploading multiple Laravel projects. How do I deal with the public_html folder?

    • @codewithdary
      @codewithdary  2 ปีที่แล้ว

      Do you want to upload multipe projects under one host?

  • @asim-gandu-phenchod
    @asim-gandu-phenchod 3 ปีที่แล้ว +1

    Hello Dary. Can you please make a tutorial on setting up a server on digital ocean and uploading the website there?

  • @emeraldmiscott2390
    @emeraldmiscott2390 2 ปีที่แล้ว +1

    Hi, you didn't modify the .htaccess file how this going to work?

  • @lekalili
    @lekalili 3 ปีที่แล้ว +2

    How to proper deploy a Laravel app in LAN only, which is going to be used by 3-4 peoples?

    • @codewithdary
      @codewithdary  3 ปีที่แล้ว

      I found this online
      arunas.dev/testing-laravel-websites-over-local-network/

  • @Visualmotionpro
    @Visualmotionpro ปีที่แล้ว

    What permissions should the new folder that we create have? Done as you do, the default permissions are 755, which don't seem different to me than putting all the sensible content directly to public folder.

  • @TheViPerBlackHawk
    @TheViPerBlackHawk 3 ปีที่แล้ว +1

    you can use laravel forge to deploy to laravel projects that's my go to

  • @Ruben837
    @Ruben837 ปีที่แล้ว +1

    Thank you for the great explanations! Is it possible to use NPM in a shared hosting via FTP? would be enough to upload the folders so I can use tailwind css etc?

    • @codewithdary
      @codewithdary  ปีที่แล้ว

      Yes, it is possible to use NPM in a shared hosting environment via FTP, but it may require some additional configuration. You need to install node.js (if necessary), then you need to install npm.

  • @jorgeperalta9780
    @jorgeperalta9780 3 ปีที่แล้ว +1

    thanks bro, you are awesome

  • @landrylouis3852
    @landrylouis3852 3 ปีที่แล้ว +2

    Great Tutorial Dary!
    I am getting this error below when viewing the site at the remote server.
    "errorexception file_put_contents(c:\loisblog\storage\framework/sessions/43uylzicpf0zqux5bgtjghw6f9r1gksg7jswzpoz): failed to open stream: no such file or directory"
    What could possibly cause that error?

  • @lyawileh.a8741
    @lyawileh.a8741 3 ปีที่แล้ว

    Thanks Code With Dary channel for a very informative video that saved me a ton of days.

  • @angeliquebob1644
    @angeliquebob1644 ปีที่แล้ว

    Hey ! Thank you for this video, I just have a quick question : what do you have in your home.html ? Is it link to your public_html/index.php ?

  • @MedyZeus
    @MedyZeus ปีที่แล้ว +1

    hey Dary.. I've got a question !
    I uploaded a laravel project on godaddy, the home page appears but when I change the URL by clicking on links or buttons I get this error
    "
    Not Found
    The requested URL was not found on this server.
    Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
    "
    anything you can say about it?
    thank you so much

    • @codewithdary
      @codewithdary  ปีที่แล้ว

      What is the URI in the browser? Maybe your url is wrong in the env file. And try accessing the project through the CLI.

  • @kovalus
    @kovalus 2 ปีที่แล้ว

    Thank You for Your work.

  • @aogunnaike
    @aogunnaike 2 ปีที่แล้ว +1

    Awesome tutorial, is it the same process to deploy a Laravel API?

    • @codewithdary
      @codewithdary  2 ปีที่แล้ว +1

      Wouldn't recommend Filezilla but a cloud provider like Cloudways instead.

  • @magaapp2099
    @magaapp2099 3 ปีที่แล้ว

    A nice video and very helpful. Thanks a lot!

  • @deBierNinja
    @deBierNinja 3 ปีที่แล้ว +1

    Will Laravel projects work on most of the regular hosting options available these days?

  • @mukhtarisah334
    @mukhtarisah334 2 ปีที่แล้ว

    Hello dary, awesome tutorial btw.
    cant find the video you did with github as on your channel.

  • @rubinoquixote-logikawarung7075
    @rubinoquixote-logikawarung7075 3 ปีที่แล้ว +1

    Do we really need to upload node_module ? Why ?

    • @gergelygrusz713
      @gergelygrusz713 ปีที่แล้ว

      That’s my first question too. :-)

  • @MiniPinho098
    @MiniPinho098 3 ปีที่แล้ว

    Great video thanks for the work!

  • @The4tticuz
    @The4tticuz 3 ปีที่แล้ว +1

    Thanks for that great video!
    Do we really have to upload node_modules, too?
    Did you prepare the project before uploading? That would be kinda interesting, too :)

    • @codewithdary
      @codewithdary  3 ปีที่แล้ว

      What do you mean with "prepare the project"? :D

    • @The4tticuz
      @The4tticuz 3 ปีที่แล้ว

      @@codewithdary reseting config and Cache eg :)

    • @hexdom2269
      @hexdom2269 2 ปีที่แล้ว +2

      If you have SSH access you could go to the project folder with the command line and do a npm install, should be quicker than uploading the node folder yourself.

  • @ITSplit
    @ITSplit 3 ปีที่แล้ว

    Great video, thanks!

  • @MULTICODE
    @MULTICODE 3 ปีที่แล้ว

    Thanks for this tutorial. Hope you are going to show us how to build API with Laravel.

    • @codewithdary
      @codewithdary  3 ปีที่แล้ว +3

      Next up! :)

    • @MULTICODE
      @MULTICODE 3 ปีที่แล้ว

      @@codewithdary thanks very much.

  • @_timestamp
    @_timestamp 2 ปีที่แล้ว +2

    Before uploading make sure to compress all files into one SINGLE zip file. The upload will be much faster!

  • @sulaimanmisri9570
    @sulaimanmisri9570 3 ปีที่แล้ว +1

    Hi dary. How about create tutorial how to deploy using DO and RunCloud using git?

    • @codewithdary
      @codewithdary  3 ปีที่แล้ว +1

      Yeah I definitely want to do that (and I recommend doing that).

    • @sulaimanmisri9570
      @sulaimanmisri9570 3 ปีที่แล้ว +1

      @@codewithdary Cool! Can't wait for that since I've build web apps based on your tutorial about creating blog and car registration using Laravel.
      I'm creating mini social media based on that code. Will share to you once it is live :)

    • @codewithdary
      @codewithdary  3 ปีที่แล้ว

      Yeah you should definitely share it man!! Always interested in to see the output!

  • @omjoshi1748
    @omjoshi1748 3 ปีที่แล้ว +1

    Hi,
    My site works fine on xampp, and I have followed all the steps which you have shown. However, I am getting HTTP ERROR 500

    • @themiracle8100
      @themiracle8100 ปีที่แล้ว

      im getting the same error, how did you solve it ?

  • @josuesalamanca9446
    @josuesalamanca9446 ปีที่แล้ว

    Hi Dary, I'm trying to deploy my laravel project on a OS Oracle Linux 9.1 server wich I have access trough SSH, I have no Idea what to do, do you have any documentation or Idea of what can I do?

    • @codewithdary
      @codewithdary  ปีที่แล้ว

      Hmm, maybe my recent video where I deploy a project through Hostinger will help you out

  • @JLF_17
    @JLF_17 4 หลายเดือนก่อน

    hi where can I get my db_host name I am using googie hosting

  • @GergelyCsermely
    @GergelyCsermely 3 ปีที่แล้ว

    Thank You!

  • @Bogdancev
    @Bogdancev 2 ปีที่แล้ว

    Thanx man.

  • @bisnu-kundu
    @bisnu-kundu 3 ปีที่แล้ว

    Thank you ❤️

  • @orangetelecom6600
    @orangetelecom6600 ปีที่แล้ว +1

    Hello Sir, so how to deploy Laravel in cpanel ?

  • @hibooexpert6784
    @hibooexpert6784 3 ปีที่แล้ว

    Thanks a lot ! But now I got an error when it creates a session. I think it's the cache. Here is the laravel error :
    file_put_contents(D:\HIBOO\HibooExpert\storage\framework/sessions/WJKwk2fFg3WWVeBVuGXqPpd87HuGEUqAGXUQKWps): failed to open stream: No such file or directory
    So you see it tries to go in my local disk, when calling file_put_contents in fileSystem. If you have any idea that could help, thanks !

  • @imalallawmkima8081
    @imalallawmkima8081 ปีที่แล้ว +1

    i have an error, 403 forbidden please help

    • @daniimestre4613
      @daniimestre4613 ปีที่แล้ว

      The same happens to me, did you solve the problem?

    • @imalallawmkima8081
      @imalallawmkima8081 ปีที่แล้ว

      @@daniimestre4613 yeah it was because the main index.php was in another folder. Means public_html was already used so put index.php in the root dir. Sorry for my english. Hope you understand.

  • @AntonioCabralNumberOne
    @AntonioCabralNumberOne 2 ปีที่แล้ว

    how do you make your terminal in your mac to have that pretty prompt?

    • @codewithdary
      @codewithdary  2 ปีที่แล้ว

      th-cam.com/video/bKUNHPvhsF0/w-d-xo.html :)

  • @guren2023
    @guren2023 3 ปีที่แล้ว +1

    Help! Unable to locate Mix file:

    • @codewithdary
      @codewithdary  3 ปีที่แล้ว

      I can copy paste the answer but I rather share the link with you: stackoverflow.com/questions/51191510/uncaught-exception-unable-to-locate-mix-file

  • @michelmve1
    @michelmve1 2 ปีที่แล้ว

    Good

  • @softwareEngineerKunwar
    @softwareEngineerKunwar 3 ปีที่แล้ว

    Can't we put even public folder in the same folder of project?

    • @codewithdary
      @codewithdary  3 ปีที่แล้ว

      That's not something you want to do

    • @softwareEngineerKunwar
      @softwareEngineerKunwar 3 ปีที่แล้ว

      @@codewithdary How to handle multiple laravel website then? shall we create folder for each website in public_html for public folder of laravel website?

  • @TijsVsN
    @TijsVsN ปีที่แล้ว

    I'm getting an HTTP error 500

  • @jaluprayoga
    @jaluprayoga 3 ปีที่แล้ว

    how to deploy to Azure using FileZilla sir? because i don't see public_html folder in mine.

    • @codewithdary
      @codewithdary  3 ปีที่แล้ว

      What's your structure?

    • @jaluprayoga
      @jaluprayoga 3 ปีที่แล้ว

      @@codewithdary /site/wwwroot
      In that folder there is hostingstart.html file only

  • @supryantowp7612
    @supryantowp7612 3 ปีที่แล้ว

    may i know the web.config file?

  • @ViralFever007
    @ViralFever007 3 ปีที่แล้ว

    404 Not Found The resource requested could not be found on this server!

  • @fiha4502
    @fiha4502 2 ปีที่แล้ว

    can't rooting file css/js

  • @vuichaloo5429
    @vuichaloo5429 2 ปีที่แล้ว

    I did everything as u said. But my routes and images are not working
    It says 404 not found

  • @LoneWolf-ll8kb
    @LoneWolf-ll8kb 3 ปีที่แล้ว

    please do a tutorial of how to deploy the mvc framework, im having issues on live server the URLROOT is not working....i need your help please

    • @codewithdary
      @codewithdary  3 ปีที่แล้ว

      What's going wrong?

    • @LoneWolf-ll8kb
      @LoneWolf-ll8kb 3 ปีที่แล้ว

      @@codewithdary I can't login on live server , but everything is working fine on xampp

    • @codewithdary
      @codewithdary  3 ปีที่แล้ว

      @@LoneWolf-ll8kb wait huh

    • @codewithdary
      @codewithdary  3 ปีที่แล้ว

      @@LoneWolf-ll8kb what have you changed in order to get it on a live server?

    • @LoneWolf-ll8kb
      @LoneWolf-ll8kb 3 ปีที่แล้ว

      @@codewithdary i changed database name, host, username, password. i also changed the urlroot from localhost to domain name, apart from these nothing else

  • @riley.shannon
    @riley.shannon 3 ปีที่แล้ว

    Hey!
    I followed the steps and the routes work, until I try to login/register. I am getting a 500 error and it is saying the auth views are not found, although they are definitely there. Any ideas?

    • @codewithdary
      @codewithdary  3 ปีที่แล้ว

      And it works locally?

    • @riley.shannon
      @riley.shannon 3 ปีที่แล้ว

      @@codewithdary Correct

    • @franciscochavezromero469
      @franciscochavezromero469 2 ปีที่แล้ว

      @@riley.shannon It happens the same to me, works locally but on the server same error as you? Did you found any solution?

    • @riley.shannon
      @riley.shannon 2 ปีที่แล้ว

      @@franciscochavezromero469 I have since moved to Digital Ocean for hosting Laravel Apps. More expensive, but extremely easy. Haha

    • @franciscochavezromero469
      @franciscochavezromero469 2 ปีที่แล้ว

      @@riley.shannon Thanks for your answer, I found a solution. I had to change the htaccess file and started to work propperly.

  • @jimson7070
    @jimson7070 2 ปีที่แล้ว

    we normally use git .

    • @codewithdary
      @codewithdary  2 ปีที่แล้ว

      Me too but not in this video :)

    • @kevinwakhisi7001
      @kevinwakhisi7001 2 ปีที่แล้ว

      is there a way i could create a symlink?

  • @VitalyGorbunov
    @VitalyGorbunov 3 ปีที่แล้ว

    Деплоить приложение через FTP при помощи filezilla, вы серьезно?

  • @juhen9
    @juhen9 2 ปีที่แล้ว

    eindbaas

  • @aalh0201
    @aalh0201 3 ปีที่แล้ว +1

    Hi Dary, great video.
    I followed your instructions and I am getting this error on my site, which does not occur on my local site, any ideas?
    include(/home/customer/www/........./.../vendor/composer/../laravel/framework/src/Illuminate/Support/Carbon.php): failed to open stream: No such file or directory

    • @codewithdary
      @codewithdary  3 ปีที่แล้ว +1

      Something if wrong with your package 'Carbon'. Might need to reinstall it

  • @jessedeboer2301
    @jessedeboer2301 3 ปีที่แล้ว

    Pathetic, we are living in 2k21 get rid off insecure ftp... throw away ftp totally ....

    • @codewithdary
      @codewithdary  3 ปีที่แล้ว +1

      I would if it was possible

    • @bhyllw
      @bhyllw 2 ปีที่แล้ว

      I might come as a complete noob here... but what is the alternative to ftp for file transferring with a server? I thought ftp was the only way of doing it!

  • @evaristopaulo6397
    @evaristopaulo6397 3 ปีที่แล้ว

    I followed all your instructions but I'm getting this error.
    Parse error: syntax error, unexpected T_STRING, expecting T_CONSTANT_ENCAPSED_STRING or '(' in /home/storage/c/53/0a/mocubico-sequele1/public_html/index.php on line 3
    Any help, please.

  • @theerapoll.5340
    @theerapoll.5340 3 ปีที่แล้ว

    thank you