I just created a simple Laravel Application. I now would like to move to production (shared hosting) just to see how it will perform on a live server. I would appreciate if anyone could explain me what are the steps to do so.
Normally you would use source control (i.e. GIT). But if you are really just looking to test it once you can FTP the files over. You don't need to move the vendor directory. Then configure you database on the server and put the login details in your .env file. Then run a "composer install" which will bring your packages (vendor folder) in. Then run a "php artisan migrate", to get your database tables set up.
This is kind of quick & dirty. But it will get the job done. I suggest you look into GIT and enjoyer.io which will make your life a lot easier in the long run.
Very useful tutorial for moving on shared host: http://blog.kongnir.com/2015/09/25/setting-up-laravel-5-on-shared-hosting-server/
You can do it through git. Connect through ssh and deploy using Git. I wouldn't recommend shared hosting for Laravel projects. It is better to go with a cloud infrastructure. If you don't know how to setup your own server on cloud, then you can do it using Cloudways Laravel hosting platform that gives you managed laravel servers in one click.
Sign in to participate in this thread!