Forum

Thread tagged as: Configuration

Create sibling dev/staging folder with same DB?

Hi, Let's say I have Perch running well at

domain.com/mysite

and I want to create a sibling site to act as a dev/staging site. This dev site will be used to tweak CSS and layout but content should ideally be exactly the same as live. I'd like to create

domain.com/mysite-dev

and map it the same DB. Can I do this by copying the original /mysite folder to /mysite-dev and editing the config file? I was hoping so, but in my experience the new copy of the site renders without content from the database. My license is configured to use the same domain for live and staging. Any setting I'm missing?

Thanks .

Mark Willis

Mark Willis 0 points

  • 6 years ago

Yes, you can do exactly that, making sure you create a separate database to your live site and updating your Perch config file.

You can view the process here (and skip the test steps) https://solutions.grabaperch.com/development/how-do-i-move-a-perch-site