Giter VIP home page Giter VIP logo

filsplace's People

Contributors

mrjazzcat avatar

Stargazers

 avatar

Watchers

 avatar

filsplace's Issues

Need to solve WP dev env process

P1

I have a WordPress site on AWS. I want to keep it updated, but it's production. I'm not about to throw new plug-ins at it. I do that in development. But, how does one update from dev to production? I will keep the site files in git and use a master repo to track changes. That’s not the complicated part, the database of the production system is.

I'm going to add new features in the dev environment, which will change the database. I can snap a copy of the production database and work off that in dev. But, once I've add my new features, I would like to apply that to the newer production DB. Stumped! The DB I have in dev is out of date. The DB in production doesn't have the new features I've just hacked up. How is this dealt with for production sites?

P2:

Here is the process I believe is required:

  • Copy the DB from production to dev.
  • Begin enhancements, and/or bug fixes.
  • Test.
  • Release - extra work is needed here:
    • Freeze the production DB for as short a period as possible (i.e. seconds)
    • Copy the production DB to staging.
    • Merge changes from the Dev DB into staging.
    • OPT: It might make sense to do a sanity test here.
    • Copy the staging DB to production.
    • Unfreeze the production DB.
  • NOTE: this assumes the code is also released to production.
  • Finally, runs some test on the new production system.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.