Guys, Using Repligard for this is a bit like beating a dead horse.
I've attached my installation notes for setting up staging/live using the Exorcist tool, whihc
is now the new repligard replacement. These instructions are not yet final, please comment.
Exorcist Staging/Live setup =========================== ## Staging/live concept Staging/Live is a concept where content is produced and site changes tested on a separate CMS installation called _Staging_. When the changes have been approved, they get copied to the production site, called _Live_. With Midgard CMS, the Staging/Live concept is handled by running Midgard on two separate databases. The Staging and Live databases can run either on the same server or on different servers, depending on your security requirements. Content is copied from the Staging server by using the Exorcist replication utility. Exorcist first dumps the content from Staging database into a generic XML format, then filters out unapproved content from it, and finally imports it to the Live database. ## Exorcist vs. Repligard Exorcist replaces the older Repligard-based Staging/Live system that originated from Hong Kong Linux Center's _Nadmin Studio_ distribution. Exorcist provides faster replication and better reliability than Repligard. Additionally, it is able to support all MgdSchema types. Since October 2005, Exorcist is the preferred way of replicating content with Midgard CMS. ## Setting up Staging/Live ### Database setup * Install your Midgard database as `midgardstaging` - This will be the database used for content production and testing * Create another empty Midgard database as `midgardlive` - This will be the database used by normal users when browsing the site ### Exorcist installation * Download Exorcist from <http://sourceforge.net/projects/exorcist/> * Or compile Exorcist yourself - Install Maven 1.0.2 from <http://maven.apache.org/maven-1.x/> - Install Midgard Core (recent CVS HEAD or 1.8 version needed) - Check out Exorcist from CVS at sourceforge.net/projects/exorcist - Compile it via Maven $ maven dist - Maven will compile Exorcist to target/distributions/exorcist-1.0-beta-1.tar.gz * Unpack the Exorcist tarball to `/opt/exorcist` ### Staging2Live scripts installation * Download the staging2live scripts from <http://midgard.tigris.org/source/browse/midgard/src/tools/>staging2live/ * Copy the files to `/opt/exorcist` ### Configuration * Get staging/live configuration scripts for Exorcist from Midgard CVS directory `src/tools/staging2live` * Exorcist configuration uses Spring Framework's Bean configuration file format (TODO: link) * Edit the `staging2live.xml` configuration file to use the correct database settings for both `exporter` and `importer` - In this case `exporter` will be `midgardstaging` and `importer` will be `midgardlive` - The `staging2live.xslt` will be used as the `converter` * Try the replication manually first by running `staging2live.sh` * Once all settings are right, copy the contents of `staging2live.crontab` to your cron.
On Nov 16, 2005, at 3:47, Akbor Miah wrote:
did anyone manage to resolve this On 4/24/05, javacert2001 <[EMAIL PROTECTED]> wrote: thanks for your efforts David, unfortunately the unapproved content still seems to get published. Roohin. --- In [EMAIL PROTECTED], David Schmitter <[EMAIL PROTECTED]> wrote: > This seems to fix something. Not 100% sure but worth a try. > > David
/Henri Henri Bergius Consultant Partner, Nemein [EMAIL PROTECTED] Midgard CMS www.midgard-project.org
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
