jeudi 25 mai 2017

Deploy Laravel app to Godaddy hosting

I kept searching today for a proper guide on how to deploy my laravel app to a godaddy hosting but no luck so far.. I followed this http://ift.tt/2rZxNvF

The problem is that when I open the website I get some weird error from laravel. Check the image. As you can see, laravel is still pointing to my local folder somehow.. enter image description here

I changed the path in the index.php file like so:

require __DIR__.'/../project/bootstrap/autoload.php';
$app = require_once __DIR__.'/../project/bootstrap/app.php';

The 'project' folder is at the same level as public_html folder. What can be the problem here?



from Newest questions tagged laravel-5 - Stack Overflow http://ift.tt/2qks7fi
via IFTTT

Aucun commentaire:

Enregistrer un commentaire