I am new to Laravel and have only changed a view so far. I setup Jenkins and bitbucket for continuous integration using this tutorial. Now when I do git push origin master the build is triggered and the unit test are run, on successful completion the project is then deployed or in this specific case, copied to /var/www/html/.
This is all fine but what I've noticed is that when I run the project locally and point my browser to http://localhost:8000 it loads as expected but once jenkins has finished deploying I need to navigate to http://localhost/project/public/ instead of http://localhost/project/
I see there's a laracast that covers deployment but that's a paid video.
Anyone know what I need to do to sort this? Is there an issue with the way I'm deploying?
via Chebli Mohamed
Aucun commentaire:
Enregistrer un commentaire