We are transitioning over to a new forum platform. Please post new issues there. Existing threads will be dealt with here unless you choose to move them over. Visit the new forum

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

  • 4 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) http://solutions.grabaperch.com/development/how-do-i-move-a-perch-site