View File | Revision Log | Show Annotations | Download File | View Changeset
/hippo/attic/forge/bundldcollectrs/bundldcollectrs-demo/tags/bundldcollectrs-demo-1.0.2/README.txt
Revision: 58799
Committed: Thu Mar 2 22:02:52 2017 UTC (2 years, 4 months ago) by jhoffman
Content type: text/plain
File size: 1970 byte(s)
Log Message:
Moved project from forge.onehippo.org/svn/ without history

File Contents

# Content
1 Running locally
2 ===============
3
4 This project uses the Maven Cargo plugin to run Essentials, the CMS and site locally in Tomcat.
5 From the project root folder, execute:
6
7 mvn clean verify
8 mvn -P cargo.run
9
10 Access the Hippo Essentials at http://localhost:8080/essentials.
11 After your project is set up, access the CMS at http://localhost:8080/cms and the site at http://localhost:8080/site.
12 Logs are located in target/tomcat7x/logs
13
14 Building distribution
15 =====================
16
17 To build a Tomcat distribution tarball containing only deployable artifacts:
18
19 mvn clean verify
20 mvn -P dist
21
22 See also src/main/assembly/distribution.xml if you need to customize the distribution.
23
24 Using JRebel
25 ============
26
27 Set the environment variable REBEL_HOME to the directory containing jrebel.jar.
28
29 Build with:
30
31 mvn clean verify -Djrebel
32
33 Start with:
34
35 mvn -P cargo.run -Djrebel
36
37 Best Practice for development
38 =============================
39
40 Use the option -Drepo.path=/some/path/to/repository during start up. This will avoid
41 your repository to be cleared when you do a mvn clean.
42
43 For example start your project with:
44
45 mvn -P cargo.run -Drepo.path=/home/usr/tmp/repo
46
47 or with jrebel:
48
49 mvn -P cargo.run -Drepo.path=/home/usr/tmp/repo -Djrebel
50
51 Hot deploy
52 ==========
53
54 To hot deploy, redeploy or undeploy the CMS or site:
55
56 cd cms (or site)
57 mvn cargo:redeploy (or cargo:undeploy, or cargo:deploy)
58
59 Automatic Export
60 ================
61
62 Automatic export of repository changes to the filesystem is turned on by default. To control this behavior, log into
63 http://localhost:8080/cms/console and press the "Enable/Disable Auto Export" button at the top right. To set this
64 as the default for your project edit the file
65 ./bootstrap/configuration/src/main/resources/configuration/modules/autoexport-module.xml
66
67 Monitoring with JMX Console
68 ===========================
69 You may run the following command:
70
71 jconsole
72
73 Now open the local process org.apache.catalina.startup.Bootstrap start

Properties

Name Value
svn:eol-style native
svn:keywords Id