-
Notifications
You must be signed in to change notification settings - Fork 7
Build and Install
Prerequisite : install Maven 3.
Clone the demo-extension repo :
git clone https://github.com/exo-addons/demo-extension.git
cd demo-extension
Finally, build the project with maven :
mvn clean install
If you have a problem of dependency during the building, try adding eXo Mirror in your Maven settings :
<mirrors>
<mirror>
<id>exo-central-server</id>
<name>eXo Central Server</name>
<url>http://repository.exoplatform.org/public/</url>
<mirrorOf>central</mirrorOf>
</mirror>
</mirrors>
In order to use SnakeYAML, you will need to add a new repository as well :
<repositories>
<repository>
<id>Sonatype-public</id>
<name>SnakeYAML repository</name>
<url>http://oss.sonatype.org/content/groups/public/</url>
</repository>
</repositories>
Prerequisite : install eXo Platform 4 and rename it tomcat/
Inside the project you just build :
cp exo-addons-demo-extension-pkg/target/exo-addons-demo-extension-pkg-XXX.zip <PATH-TO-PLATFORM-TOMCAT>/extensions/
Note : XXX in the jar stands for its version (i.e. 0.1.0 or 0.1.0-SNAPSHOT).
Go into your Platform 4 Tomcat folder :
cd tomcat
unzip extensions/exo-addons-demo-extension-pkg-XXX.zip -d extensions/
./extension.sh -i demo
If you don't have MongoDB running on port 27017 (needed for eXo Chat), add this step :
cp extensions/demo/conf/chat.properties conf/
Use eXo start script:
cd tomcat
./start_eXo.sh
Now, point your browser to http://localhost:8080/portal/ and login with the predefined administrator (login:john ; password:gtngtn)
To stop the server, use eXo stop script: cd tomcat ./stop_eXo.sh #or CTRL+C in your terminal
You should have a link to data-management page on the right of the homescreen.