If possible, we'd like to clone jitp.commons.gc.cuny.edu to jitpdev.commons.gc.cuny.edu. This will allow us to preserve jitpstaging.commons as a pure staging space, and work through some development needs over the next few months in a different space.
#2 Updated by Boone Gorges almost 3 years ago
- Category name set to WordPress (misc)
- Target version set to 1.9.14
Sure. I found a decent plugin for cloning sites and have added it to the repo in https://github.com/cuny-academic-commons/cac/commit/435d52cbb717fb013d7427690251d0be5462c835. After tomorrow's release, I'll perform the clone. I'll update this ticket when it's done.
#4 Updated by Boone Gorges almost 3 years ago
- Status changed from Assigned to Resolved
Hi Luke - I've cloned the site. Everything should be the same as jitp, except that I've changed jitpdev's visibility so that only members of the site can see it: https://jitpdev.commons.gc.cuny.edu/wp-admin/options-reading.php Let me know if you have any more issues.
#7 Updated by Luke Waltzer almost 3 years ago
Boone-- can you please add Luke Waltzer to the CAC github repo? I want to take a look at the plugin so I can better understand the clone process. If you want to keep access to the repo restricted to the devs, that's fine; just send me a link to the plugin site.
#8 Updated by Boone Gorges almost 3 years ago
I've added you to the repo https://github.com/cuny-academic-commons/cac/
This is the plugin: https://github.com/cuny-academic-commons/cac/tree/master/wp-content/plugins/multisite-clone-duplicator Looks like this is the place to start reading: https://github.com/cuny-academic-commons/cac/blob/master/wp-content/plugins/multisite-clone-duplicator/lib/duplicate.php#L21
#15 Updated by Boone Gorges over 2 years ago
Will the password protection still be in place once the site is cloned?
To clarify: "the password protection" is the WordPress login requirement, correct? If so, I will be sure to mirror it manually after cloning. Or do you mean something else?
#17 Updated by Boone Gorges over 2 years ago
The site has been cloned. I've set the privacy settings (password protection) to "Admins only" https://jitpstaging.commons.gc.cuny.edu/wp-admin/options-reading.php.
If you need a reclone, please open a new ticket. Thanks!