WordPress Enterprise - Pushing from Cert to Prod (4 posts)

  1. Sam Napolitano
    Posted 4 years ago #

    Hello all,

    So we have been working for the last few months at creating an enterprise level wordpress install that will host thousands of unique blogs. Each blog (or site as I refer to them as) will have it's own theme, settings, plugins (with some network plugins), robtos.txt, sitemap.xml, mapped domain, etc... In essence we are just using wordpress multisite as a site administration and deployment manager.

    Some of the challenges we faced were:

    1. Getting files to be served from the root, solved with variable .htaccess trickery
    2. Having a master template site to start from, solved with @andrea_r 's WP Replicator
    3. Network and site specific user management, solved with @andrea_r's Network Roles
    4. Domain Mapping, solved with MU Domain Mapping
    5. Server architecture: Solved with 2 load balanced lamp stacks, with 2 memcache servers, and a slew of virtual scaleable databases in master slave configurations
    6. We also have been working with @bwilliams and @bmess at webdevstudios on some custom plugins for SEO, maps, form components, etc. (These guys have been really awesome! )

    The last issue that we face is within our workflow. We have 2 environments, a certification (or build) environment, and a read only production (or live) environment. With more than 100 people touching these sites daily, we want to make sure that doing redesigns or major content overhauls does not impact our prod environment and also allows us to fully view a working site before making all the changes live. This also means that all changes will be made and tested in a build environment before pushing changes live (including theming, content, media uploads, site settings etc)

    With that in mind, we have hypothesized a workflow that I would like to get some input on or better yet examples of plugins that already do this. Basically we would like to build a function (stored procedures, shell scripts, php, whatever) that will check our cert version of the site for changes and then push those changes to the prod environment all at once to reduce DB calls, but also have some node based publishing features, publishing single pages to prod if needed.

    Challenges I see with this:

    1. Media uploads? How do we ensure that media files are moved and linked correctly
    2. Site settings: how can i view my site in cert ie. site1.cert-maindomain.com, but when it moves know to change the site url back to the prod url which will be site1.maindomain.com mapped to customdomain.com
    3. How can I manage the theme in this way? I was originally thinking some git or svn shell scripts to push theme changes to its sister locations in prod

    i know there are other issues here... Anyone care to comment?

  2. # We also have been working with @bwilliams and @bmess at webdevstudios on some custom plugins for SEO, maps, form components, etc. (These guys have been really awesome! )

    Yes, they are. :)

    Boone left a post in here somewhere about what they do at CUNY. Lemme see if I can dig it up.

  3. Sam Napolitano
    Posted 4 years ago #

    Thanks @Andrea_r there is really a wealth of information in there. Boone is quite impressive and I know that Brad has worked with him before.

    We are brain storming some solutions, Ill be sure to post back here once we come up with something that works for us.


Topic Closed

This topic has been closed to new replies.

About this Topic