View File | Revision Log | Show Annotations | Download File | View Changeset
/hippo/hippo-cms7/plugins/poll/demo/tags/hippo-plugin-poll-demo-2.1.0/README.txt
Revision: 56440
Committed: Wed Oct 28 22:22:59 2015 UTC (6 years, 3 months ago) by abanck
Content type: text/plain
File size: 1677 byte(s)
Log Message:
CMS-9647: copy for tag hippo-plugin-poll-demo-2.1.0

File Contents

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

Properties

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