Create New Repository in Nuxeo

Leave a comment

April 7, 2012 by huionn

Nuxeo documentation Using several repositories in the same Nuxeo instance shows how to use multiple repositories in a Nuxeo instance.

For Nuxeo version 5.5, it seems the steps are a little bit different.

  1. in templates\<template>\nxserver\config, create a custom copy of default-repository-config.xml, edit the file for the name of new repository.
  2. create a custom copy from templates\common\config\platform-config.xml. Edit the file accordingly for the new repository.
    <?xml version="1.0"?>
    <component version="1.0" name="org.nuxeo.ecm.platform.api.ProductionPlatform">
      <extension point="repositories" target="org.nuxeo.ecm.core.api.repository.RepositoryManager">
        <documentation>The production repository</documentation>
        <repository name="production" label="Production Repository" />  
      </extension>
    </component>
    
  3. create a new database and add the db name in nuxeo.conf (for DatabaseName property in 1.)
  4. if Nuxeo can start without error, then logon to Nuxeo web application (with Administrator user) to create a domain for the new repository.
Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: