View File | Revision Log | Show Annotations | Download File | View Changeset
/hippo/hippo-demos/hippo-go-green/branches/hippogogreen-restyling-3.10.xx/README
Revision: 47034
Committed: Thu Nov 6 16:31:27 2014 UTC (6 years ago) by abanck
File size: 1777 byte(s)
Log Message:
GOGREEN-1295:  copy for branch hippogogreen-restyling-3.10.xx

File Contents

# Content
1 Running locally
2 ===============
3
4 Hippo GoGreen 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/tomcat7x/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
22
23 Creating the demo launcher
24 =======================
25
26 The demo launcher is an archive containing an executable jar that launches a Tomcat instance containing
27 the CMS and the Go Green site application.
28
29
30 To create demo launcher:
31 $ mvn clean install
32 $ cd dist
33 $ mvn clean install -P dist-full,demo-launcher
34
35 This will create a .tar.gz and .zip archive containing the demo launcher under 'dist/target' directory
36
37 Using JRebel
38 ============
39
40 Set the environment variable REBEL_HOME to the directory containing jrebel.jar.
41 Build with:
42
43 $ mvn -Djrebel
44
45 or add -Djrebel to your MAVEN_OPTS environment variable:
46
47 $ export MAVEN_OPTS="$MAVEN_OPTS -Djrebel"
48
49 Note: the latter *always* enables JRebel. To disable temporarily (e.g. when building/deploying a release) use
50
51 $ mvn -P -jrebel
52
53 Do *not* activate JRebel using "mvn -P jrebel", as it then deactivates the "default" profile.
54
55 Hot deploy
56 ==========
57
58 To hot deploy, redeploy or undeploy the CMS or site:
59
60 $ cd cms (or site)
61 $ mvn cargo:redeploy (or cargo:undeploy, or cargo:deploy)
62
63
64 Special thanks:
65 ===============
66 - To the PubPig team (PugPig.com) about the help we got from them for the IPad magazine support
67 (@see site/src/main/webapp/WEB-INF/jsp/ipadmag/events/detail.jsp)