Menu

Tree [6075db] master /
 History

HTTPS access


File Date Author Commit
 bootstrap 2015-02-08 Jan Pralle Jan Pralle [ea893a] RPGHP-XX: Repaired previous merge (comments whe...
 cms 2015-01-06 Jan Pralle Jan Pralle [f1df62] Renamed cms war file from website-cms.war to to...
 conf 2014-05-03 Martin Dreier Martin Dreier [d340a5] Initial commit after move from Subversion
 site 2015-03-01 Jan Pralle Jan Pralle [3fa049] RPGHP-9: Added imprint-link to header, small CS...
 src 2015-01-29 Jan Pralle Jan Pralle [18fc9e] RPGHP-6: Centered teaser image of blog article ...
 .gitignore 2015-01-22 Jan Pralle Jan Pralle [8718fd] RPGHP-XX: Added rebel.xml to gitignore
 README.txt 2014-05-03 Martin Dreier Martin Dreier [d340a5] Initial commit after move from Subversion
 nbactions-cargo.run.debug.startup.xml 2014-05-03 Martin Dreier Martin Dreier [d340a5] Initial commit after move from Subversion
 nbactions-cargo.run.xml 2014-05-03 Martin Dreier Martin Dreier [d340a5] Initial commit after move from Subversion
 pom.xml 2014-12-11 Martin Dreier Martin Dreier [d8436e] Automatically publish new document.

Read Me

Running locally
===============

This project uses the Maven Cargo plugin to run the CMS and site locally in Tomcat.
From the project root folder, execute:

  $ mvn clean install
  $ mvn -P cargo.run

Access the CMS at http://localhost:8080/cms, and the site at http://localhost:8080/site
Logs are located in target/tomcat6x/logs

Building distribution
=====================

To build a Tomcat distribution tarball containing only deployable artifacts:

  $ mvn clean install
  $ mvn -P dist

See also src/main/assembly/distribution.xml if you need to customize the distribution.

Using JRebel
============

Set the environment variable REBEL_HOME to the directory containing jrebel.jar.

Build with:

  $ mvn clean install -Djrebel

Start with:

  $ mvn -P cargo.run -Djrebel

Best Practice for development
=============================

Use the option -Drepo.path=/some/path/to/repository during start up. This will avoid
your repository to be cleared when you do a mvn clean.

For example start your project with:

$ mvn -P cargo.run -Drepo.path=/home/usr/tmp/repo

or with jrebel:

$ mvn -P cargo.run -Drepo.path=/home/usr/tmp/repo -Djrebel

Hot deploy
==========

To hot deploy, redeploy or undeploy the CMS or site:

  $ cd cms (or site)
  $ mvn cargo:redeploy (or cargo:undeploy, or cargo:deploy)

Automatic Export
================

To have your repository changes automatically exported to filesystem during local development, log into
http://localhost:8080/cms/console and press the "Enable Auto Export" button at the top right. To set this
as the default for your project edit the file
./bootstrap/configuration/src/main/resources/configuration/modules/autoexport-module.xml

Monitoring with JMX Console
===========================
You may run the following command:

  $ jconsole

Now open the local process org.apache.catalina.startup.Bootstrap start