I have successfully followed the instructions to create a running local copy of my ghost site (production hosted with ghost). I can successfully make changes locally, update production, and even created my own theme version and am using that.
What’s the correct process for creating a duplicate of a local running instance so that I have a true sandbox locally I can play around with and not impact my stage local copy for production?
I tried the following:
- copy the entire local folder
- edit the json config file for a different port and different file paths to match new folder
- in that new folder did a ghost buster, ghost check-update, and ghost update (5.22.4 to 5.22.6 I think)
My thought was I could then do a ghost run in each of the folders and have each running on those separate ports. But something’s amiss. I can get the second site to APPEAR to come up on the second port, but I can’t get in to the admin area. And when I do a ghost list it seems to reference it as the first site.
So obviously there’s a more correct way to replicate a site locally and have each one runnable.
What is that process?