Thursday, January 10, 2008

Deploy eXo WebOS on Unix

It is not official documentation. It is howto I do. As is.

Preamble

As Unix system I am using Ubuntu 7.10.
I have installed
  • Java 1.5 (1.5.0_11)
  • Maven 2 (2.0.7)
  • Tomcat 6 (6.0.14)
  • eXo Platform sources
To configure this all you should read two chapters 'Create the base structure' and 'Check out the source code' within article "Builing from sources" in eXo wiki.
Be sure that you configured valid maven repositories and tomcat version within settings.xml.

Main

Modify eXoProjects/tools/trunk/build/src/main/resources/linux/exoenv.sh
1. uncomment line 2 and replace option with you home dir, e.g.: "PORTABLE_DIR=/home/alexey"
2. commented lines 39-43
Than copy all content of resulted exoenv.sh to begin eXoProjects/tools/trunk/build/src/main/resources/linux/js.sh source.

Copy eXoProjects/tools/trunk/build/src/main/resources/linux/js.sh to $EXO_BASE_DIRECTORY ( known also as "java" within home dir )

Run there to deploy:
"./js.sh exobuild --product=ecm --build --deploy=tomcat"

Tomcat deployed to exo-working/exo-tomcat
Run within bin/ "eXo.sh run"
Browser url "http://localhost:8080/portal/"

Links
My Blog Java
My Blog Maven
My Blog Tomcat

vnserver exoplatform developer Ubuntu SetupExoWorkingEnvironment

No comments: