Forums

Development Workflow, Mirrors, and Database Copying? (9 posts)

  1. trumpetmic
    Member
    Posted 3 years ago #

    Hey guys, I'm too paranoid to develop on a live WordPress site.

    So I have a development copy of the site under http://mydomain.com/wordpress/test/

    The problem is that this development/testing mirror is still running on the live site's database.

    I need to be able to develop on the /test side without having those changes go live until I'm done developing and testing everything.

    So, is it possible to have a smooth workflow that allows for developing on a test mirror, with an identical set of files and database, so that I can simply copy everything to the live site when I'm done making changes?

    Thanks!

  2. equaldesign
    Member
    Posted 3 years ago #

    Why not work locally instead?

  3. trumpetmic
    Member
    Posted 3 years ago #

    I'm up for working locally too.

    I'd really like to have both options. :)

    Still, it seems as though this sort of dev/testing mirror workflow would be more popular, since it's a way to ensure no problems are ever introduced on the live site, while saving us the time of repeating our work on a dev site and then again on the live site.

    Does that make sense?

    Any ideas? Anyone already doing this?

  4. equaldesign
    Member
    Posted 3 years ago #

    When I design/code sites for clients I always work locally. Then I export the databases (finding and replacing all local URLs for live URLs) upload all the files to the live server as well as the database and everything works a treat.

  5. trumpetmic
    Member
    Posted 3 years ago #

    Thanks for the reply.

    I'd like to be able to avoid the find/replace step.

    Is it possible to have a setup to allow for that in WordPress?

  6. Calicosun
    Member
    Posted 2 years ago #

    I am not sure if this thread is still live. Am really hoping it is! I have been trying to work with my host (with whom I am a reseller) to establish how I set up a development area for the development of my sites. The most common suggestion has been to set up a sub domain.

    My questions are:

    (please don't laugh at this - I am still learning): What is working locally and how do you do it?

    Would setting up sub domains with the host work for development sites?

    Thanks!

    Lisa

  7. Samuel B
    moderator
    Posted 2 years ago #

    What is working locally and how do you do it?

    on your own computer with this
    http://www.tamba2.org.uk/wordpress/xampp/

    Would setting up sub domains with the host work for development sites?

    yes - either a sub domain or just a folder
    you must create another database or change the $table_prefix in wp-config.php to be different from other installs
    http://codex.wordpress.org/Installing_Multiple_Blogs

  8. Calicosun
    Member
    Posted 2 years ago #

    Thanks so much for your help. Is there a tutorial for setting up a mac computer to work locally?

  9. Samuel B
    moderator
    Posted 2 years ago #

    yes - some macs already have the necessary software
    review this and see if you have it or follow directions to install it
    http://codex.wordpress.org/Installing_WordPress_Locally_on_Your_Mac_With_MAMP

Topic Closed

This topic has been closed to new replies.

About this Topic