How to Run Hippo CMS

1.2k views Asked by At

I've got Hippo CMS source code with SVN. Fortunately it is maven based and it gets all dependencies automatically. I've installed it with Maven successfully.and both site.war and CMS.war and two other jar file were built.

But I don't know how to run it. The documentation says to run it using mvn -P cargo.run.

I've done that and everything seems OK, when I try to browse to localhost:8080/cms or localhost:8080/site nothing appears.

Can somebody help if I must do some other thing? Or if I did something wrong?

1

There are 1 answers

5
Frederic Close On BEST ANSWER

You should not have to do a SVN checkout.

You can create a startup project with a maven archetype, type:

mvn archetype:generate 
-DarchetypeRepository=http://maven.onehippo.com/maven2 
-DarchetypeGroupId=org.onehippo.cms7 
-DarchetypeArtifactId=hippo-archetype-website 
-DarchetypeVersion=1.07.06

then you can

mvn install 

and to start your project

mvn -P cargo.run

or to avoid to start from a fresh repository everytime

mvn -P cargo.run -Drepo.path=/home/usr/myrepo

This is all explained here: http://www.onehippo.org/7_8/trails/developer-trail/hippo-baby-steps.html