The /public dir needs to be set as the DocumentRoot for the site.
Transfering Local Project To Digital Ocean
Hi,
I have created a local laravel project called chrisgrim. Then on digital ocean I setup LAMP and composer and created laravel project called chrisgrim on the server. I got it working and was even able to point chrisgrim.com to it and see it.
I then tried to upload my local project to the same folder and override my server chrisgrim folder. This didn't work and I couldn't connect anymore.
I was wondering why this didn't work? Is there a way I can do this to get it to work?
Thanks so much!
I figured out my issue! I was trying to upload the Vendors folder. I realized I could upload everything else and then just use composer to ensure I had the right packages for my app.
Please or to participate in this conversation.