• Hello Everyone,

    I’m trying to create a platform agnostic install of wordpress so that I can put it into CM and work on it from multiple platforms (Mac and Windows at least) and do a hot deploy from CM to the live site without having to change anything.

    I’m trying to figure out what things need to be constant about the install. For instance, I don’t think the root of the install matters, as that’s just the URL I use to get to wordpress. However, the database configuration probably matters a lot (user name, database name, password, etc.)

    Could anyone give me a list configuration items that would let me accomplish this?

    Thanks in advance!

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter stopsineman

    (@stopsineman)

    New idea here, I figure I’ll just post this as I go along and if other people chime in, _great_!

    Anyway, the main problem I’ve encountered all along is that my hosting services database host is different than localhost. I’ve never had an idea about how to get around this, but just now I had a thought that I could use my hosts file to ‘spoof’ the db host that they use for my local installs. So, if my hosting services db host is xxx.yyyy.zzz, then I set up an entry in hosts as such

    127.0.0.1 xxx.yyyy.zzz

    Should that effectively allow anything that my machine try’s to access at that name first redirect locally and get caught by my local instance of mysql?

    Just a thought, I’m gonna keep working on it but if someone else wants to confirm it, that’d be _awesome_.

    Thanks in advance!

    Thread Starter stopsineman

    (@stopsineman)

    Alright, new log entry. ??

    My above inclination appears to have worked! At least on my Windows box using XAMPP as my server config software I was able to get wordpress installed locally by adding the spoofed dns entry into my hosts file and putting the correct info into the wp-config file.

    Next up, I’m going to try to push to the live server and see if the switch happens correctly.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Creating a platform agnostic install of WordPress.’ is closed to new replies.