문제

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?

도움이 되었습니까?

해결책

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

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top