Node Body | Modules Unraveled

Installing the Site on a Production Server with Composer

Now, we're ready to install the site on the remote server so that we can start moving code and config changes between two instances of the site.

Note: Make sure you add your server's ssh keys to your GitHub/BitBucket account so that it can pull your repo.

First, I'll ssh into my server, then move into the directory containing my web root (in my case that's public_html). From there, I'll remove the existing site and clone the new site repo into the directory.