Search code examples
phplaraveldeploymentftplive

laravel 5 deployment to ftp /liveserver


I just finished my first laravel application. Before get the hosting, I already sent an email to support and they said that they don't see any reason not to work. I also have already bought hosting and domain I have few questions now.

Is there anything that I supposed to do in the code in order to make it work? If so, what?

also I have copied everything in /web/ that I have in my app.

extra folder
laravel folder(main juicy folder)
vendor folder
composer.json 
composer.lock

Is there anything else that I should do? the application does not seem to work when I try to access the main website.


Solution

  • Make sure you place the files so that Laravel public folder matches your hosting public folder (probably named public_html).

    I recommend reading this Laracast discussion.