19

Staging ability

  • Live

Avatar
Dennis

The idea would be able to check a box that you want a 'staging' site as well which creates a second host (staging.*.tld) where the user can develop their site on.

When they are finished they will be able to push the staging files to the live site.

A

Activity Newest / Oldest

Avatar

Dimitris Thanasis Kakanis

Nice!


  • Avatar
Avatar

Dennis

This feature is now live. There are more updates to come to this to make it even more flexible, we'd like to introduce it early so we can see if it fits people's needs as it is now to collect some feedback and go from there 👏


  • Avatar
  • Avatar
  • P
Avatar

Dennis

Status changed to: Live

Avatar

Dennis

Deployment script after staging to production has been done has been added too.

ploi.io/documentation/staging-sites/how-do-i-run-a-script-after-deployment-to-production


  • Avatar
  • Avatar
Avatar

Cristian Uibar

Dennis, please consider adding db sync as well and please allow a custom script to run at the end. My use case would be to run wp cli commands after the staging or production sync of db so I can search replace proper Urls.


Avatar

Dennis

Yes, like Ryan mentioned below here, database will be done in a later phase.

Custom deploy script after deployment is coming too! 🚀


  • Avatar
Avatar

Dennis

Alright, so the complete first base ground has been created.

ploi.io/documentation/staging-sites


  • Avatar
Avatar

Ryan Roberts

This sounds good. Is this only files you're talking about in the last paragraph, or database too? ;)

When it comes to merging (or overwriting) a database it would be amazing to have it go from production to staging.


  • Avatar
  • F
Avatar

Dennis

For now its only files, but I have already received requests to make database as well, so consider that to be added too!


  • Avatar
  • F
Avatar

Cristian Uibar

There should be 2 buttons for sync to stage and sync to prod. Considering that there is already a CF integration I believe that the proper records will get automatically added when enabling staging sites.


  • Avatar
Avatar

Cristian Uibar

Wooow ! This is amazing!


  • Avatar
Avatar

Dennis


  • Avatar
  • Avatar
  • P
Avatar

Dennis

Status changed to: In progress