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.

MSM with Git

December 22, 2010 1:48am

Subscribe [2]
  • #1 / Dec 22, 2010 1:48am

    Shawn Dai

    76 posts

    Hi, I’m seeking some guidance on the best way to setup Multiple Site Manager with Git.

    I’ve not used MSM before, so I’m not totally clear on how I should setup the directories. Ideally, I’d like to keep all the sites managed by MSM within the Git repository. Is this possible?

    With Git, I have a local MAMP development environment, a staging and production server on Media Temple’s (dv), and GitHub as the origin repository.

  • #2 / Dec 22, 2010 4:39pm

    Ingmar

    29245 posts

    I am afraid that’s not an officially supported setup. Let me move this to the CodeShare Corner for some community support. Thanks.

  • #3 / Dec 22, 2010 5:39pm

    Shawn Dai

    76 posts

    Maybe I wasn’t being clear enough with my question. I’m just trying to get a better understanding of how MSM works, given my setup, so I’d have an idea of how to proceed.

    Specifically, I’d be interested in installing whatever files MSM needs to run a second site inside a subdirectory of the main website’s root. The instructions for MSM Creating a New Site Step 4 reads “Set up public access via a sub-folder, sub-domain, or domain.” That’s not very detailed, and there’s a number of ways this step can be done. So I explained my setup, in the hopes of getting a little more detail with step 4 ... simply as guidance, since I’ve never used MSM before. I don’t think this thread is out of the scope of Technical Support.

    Anyhow, I found an article written by Chris Arnold that addresses some of what I’m looking for, although it appears to be written for EE1 (whereas I’m using EE2). I’ll review his notes and do my own trial and error.

  • #4 / Dec 22, 2010 6:04pm

    Ingmar

    29245 posts

    Step 4 reads “Set up public access via a sub-folder, sub-domain, or domain.” That’s not very detailed, and there’s a number of ways this step can be done.

    Yes. The new MSM site can run in a new domain, subdomain, or subfolder off the main domain. It needs to be on the same server, and EE needs to be able to access the files in the new location, but everything else really is a matter of server configuration and as such left to the user.

    Anyhow, I found an article written by Chris Arnold that addresses some of what I’m looking for, although it appears to be written for EE1 (whereas I’m using EE2). I’ll review his notes and do my own trial and error.

    Sounds good. The MSM really hasn’t changed much between EE1 and 2, certainly not the underlying principles.

  • #5 / Dec 22, 2010 9:33pm

    Shawn Dai

    76 posts

    Ok great, thanks. This turned out to be a lot more straightforward than I thought it would be. The subdirectory is simple for keeping everything in one Git repository. I can just .gitignore the subdirectories’ index.php file.

    So it looks like captchas and avatar directories are shared between sites right?

    Also, is there any configuration overrides for Channel Path Settings, and File Upload Paths (or are they always stored in the database)?

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

ExpressionEngine News!

#eecms, #events, #releases