This scenario will make the Laravel app to run in a shared hosting, the Laravel code will be outisde of public directory and could be updated later via git.
GET THE CODE
-
Upload from local to github
-
Get into the server using ssh
-
Clone in server directory outside of public ie.
/home/myuser/mylaravelapp