Dashboard > Community Wiki > ... > Developing with Magnolia > Building from the source
Building from the source Log In View a printable version of the current page.

Added by GrĂ©gory Joseph , last edited by Boris Kraft on Jun 23, 2008  (view change)
Labels: 

When building Magnolia from the source all you get is a war. Launching this war will now set up an empty repository for you (thanks to the bootstrap mechanism) and you'll end up with a working author instance. But where do you go from here? This page should help you get you started.

Much of the info here is taken from a post to the User Mailinglist by Ferris Nicolaisen. Unfortunately it's still a bit incomplete. For those who have already solved these problems: Please fill in the missing info! Thanks.

  1. Setup a public instance
    Easiest way: Duplicate the author instance folder in your servlet container and rename it to e.g. magnolia_public. Ferris mentions these additional items:
    1. Change magnolia.root in web.xml to magnolia_public.root, and application name to magnolia_public
    2. Change all instances of magnolia.root in log4j.xml to magnolia_public.root
  2. Setup a second repository for the public instance
    If you have your repository inside the application folder, you automatically duplicated the repository of course. You don't have to do anything in this case.
    If you have your repository outside the application folder (and I suggest you do), you'll need to modify the "repositoryHome" parameters in appfolder/WEB-INF/config/repositories.xml. Attention: There are four (4) parameters you'll have to modify.
  3. Start up your servlet container and test both instances - you should get the Admin Central when connecting to either instance.
  4. Configure the author instance to publish to the public instance - see Setup a public instance

Other known authors include :

  • Will
Powered by a free Atlassian Confluence Open Source Project License granted to Magnolia International. Evaluate Confluence today.
Powered by Atlassian Confluence 2.7, the Enterprise Wiki. Bug/feature request - Atlassian news - Contact administrators