I used composer to create a Statamic 3 site on my own computer (localhost). It's looking like I want, and I'm getting ready to deploy it to a webhost for the world to see (probably Hostgator or Bluehost---any suggestions for a cost-effective webhost?). Before I do that, I'd like to make sure I understand the deployment process. Are the steps below correct?
Make sure the webhost is running PHP with the required extensions enabled (such as mbstring, exif).
Upload (FTP) the entire local site folder structure to the root of the server.
Make sure the DNS servers of the registered domain point to the webhost.
I'll initially deploy it to a test domain to make sure everything is working as expected, so I don't need to enable the Pro license at that point, since it's a slightly different domain (
That should be it, right? I'm confused about one thing, though. On localhost, I need to set the Apache document root to the 'public' subfolder for things to show correctly. If I set it to the root, all I see is a list of subfolders. Is there anything I need to set at the webhost end to make sure the site displays correctly? Do I need to set something similar to localhost (so point to 'public' rather than root)?