ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

Developing more then one site at a time...

September 27, 2008 8:43pm

Subscribe [3]
  • #1 / Sep 27, 2008 8:43pm

    Bernie_the_one

    31 posts

    OK, this must be easy, but how do i develop locally 2 or more sites?

    Do i need to make per site a separate install of ee and move the separate htdocs folder in and out of my MAMP-Folder? Or are there more files installed with each install of ee which are distributed elsewhere…?

    My current need is for testing things out and going back to the real site in developement so that i didn’t mess up my site in progress.


    TIA


    Bernd

  • #2 / Sep 27, 2008 8:49pm

    Mark Bowen

    12637 posts

    Hi Bernd,

    If you are using MAMP on OSX then what I have is literally one folder for each ‘site installation’ in the htdocs folder. Say you had a site called cathomes and one called doghomes then you would end up with two folders respectively named and then in each folder would be a complete installation of ExpressionEngine. Then you would create two databases using http://localhost:8888/MAMP by going to the phpMyAdmin section.

    This will then keep everything separate for each site. Just as an aside I do this all the time and currently my htdocs folder has well over 720 different ExpressionEngine installations!!! 😊

    Hope that helps a bit.

    Best wishes,

    Mark

  • #3 / Sep 28, 2008 1:01pm

    Bernie_the_one

    31 posts

    Thanks Mark!

    So, i have to explicitely choose the database i created for a given installation, yes? And then all data created for a site goes completely in its corrospending folder in the htdocs Folder?

    So, a backup of this folder backs up everything for that site (i’m a bit afrid what mysql actually does and where things end up in my file-structure)?

  • #4 / Sep 28, 2008 1:23pm

    Mark Bowen

    12637 posts

    Yep if you create a separate folder for each installation or site if you like and this will contain a full installation of ExpressionEngine. This will then hold all the files just as if you had uploaded them to your FTP server.

    Then create a database for each one and go from there. Everything then is separate yet you can still get at all the data you need. The sites will work exactly the same as though they were each a separate domain name on FTP.

    Best wishes,

    Mark

  • #5 / Sep 28, 2008 2:58pm

    Bernie_the_one

    31 posts

    OK, then i can move on…

    Thanks Mark for your Help!

  • #6 / Sep 28, 2008 3:07pm

    Mark Bowen

    12637 posts

    No problem at all.

    The other great thing to remember is that because the files are on a localhost then if anything does go a little haywire (I’m sure it won’t though) then it is much easier and quicker to swap files across if needed.

    I use MAMP all the time and it is simply a fantastic way to work.

    Hope it all goes well for you.

    Best wishes,

    Mark

  • #7 / Sep 28, 2008 9:32pm

    PXLated

    1800 posts

    Mark - “720 different ExpressionEngine installations

    M A N I A C

    😉

  • #8 / Sep 29, 2008 6:38am

    Mark Bowen

    12637 posts

    Mark - “720 different ExpressionEngine installations

    M A N I A C

    😉

    You should see the amount that I have deleted as well then!! 😉

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases