Search code examples
laraveldeploymenthostingshared-hosting

what to do after deploying laravel project?


I just uploaded my laravel project to my shared hosting and was wondering what things and changes to configuration should I make to make the project work?


Solution

  • My typical checklist:

    • Modify the document root to the /public folder
    • Make the /storage and bootstrap/cache folders writeable.
    • Set up the database
    • Modify the .env file to suit the live environment
    • Run php artisan migrate

    This should get you up and running, or at least bring you to a point where the errors are detailed enough to work things out