jreijn / hippocms-spring-loaded Goto Github PK
View Code? Open in Web Editor NEWThis is a demo Hippo CMS project which uses Spring Loaded for speeding up development
This is a demo Hippo CMS project which uses Spring Loaded for speeding up development
For Hippo 10 and Tomcat 8 check out the [Hippo 10 branch](https://github.com/jreijn/hippocms-spring-loaded/tree/hippo10) 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/tomcat7x/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 Spring Loaded ============ Build with: $ mvn clean install Start with: $ mvn -P cargo.run,springloaded 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 Spring Loaded: $ mvn -P cargo.run,springloaded -Drepo.path=/home/usr/tmp/repo 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
Hi,
I am having problems getting it to run with cargo using tomcat 8. org.apache.catalina.loader.VirtualWebappLoader isn't available anymore in tomcat 8. I guess the site-context.xml needs to be migrated with https://tomcat.apache.org/tomcat-8.0-doc/api/org/apache/catalina/WebResourceRoot.html
just an idea, didn't spent so much time on it
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.