I'm trying deploy my project to Hostinger with git, but I can't deploy direct to root folder (/home/uXXXXXXXX). The path in cPanel is directly to /home/uXXXXXXX/public_html.
Is there anyway to deploy to root folder? My project is in Laravel. What is the best way to deploy to shared host? Because part of the folders need to be in the root and others in /public_html. Will I have always move folders manualy in my hosting?
I'm a little confused in this part. I'll appreciate any help
git
, i doubt they offer that out of the box. as for to only expose yourpublic
folder you will need to edit at least two files if i remember correctly, one the most obvious one isindex.php
on thepublic
folder to set the correct path the second one is thebootstrap.php
. – Raven