Support the ongoing development of Laravel.io →
Installation Configuration Architecture
Last updated 2 years ago.
0

Just push your entire laravel project to GitHub. Use environment variables for config options that should remain secret (database password, secret keys etc). Point your webserver to the public folder. A default Laravel installation has a folder structure that allows this with no modification.

Some shared hosts might not allow changing the webserver target and it often defaults to public_html. You could try renaming your public folder to this although using a proper webserver or instance where you have control over the configuration and dependencies is a better option.

0

Sign in to participate in this thread!

Eventy

Your banner here too?

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2024 Laravel.io - All rights reserved.