-
Notifications
You must be signed in to change notification settings - Fork 57
One Server Mode
Prerequisite : install Maven 3.
Clone the chat repo :
git clone https://github.com/exo-addons/chat-application.git
cd chat-application
or download the last tag v0.4
unzip chat-application-XXX.zip
cd chat-application-XXX
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>
Prerequisite : install MongoDB. then configure your chat.properties file like :
dbServerHost=localhost
dbServerPort=27017
dbName=chat
dbAuthentication=false
dbUser=admin
dbPassword=pass
chatServerUrl=/chatServer
chatPortalPage=/portal/intranet/chat
chatIntervalNotif=3000
chatIntervalChat=3000
chatIntervalSession=60000
chatIntervalStatus=15000
chatIntervalUsers=5000
chatPassPhrase=chat
chatCronNotifCleanup=0 0/60 * * * ?
publicMode=true
publicAdminGroup=/platform/administrators
weemoKey=your-key-here
** DISCLAIMER : JuzuWeb 0.6 uses other 3.0+ methods. I guess it won't be possible to use Juzu with eXo Platform 3.5 in Servlet Mode anymore (only Portlet mode, the most important one will continue to work). It's important to note that eXo Platform 4 will be released very soon and will support Servlet 3.0 (thus, the last releases of Juzu Servlet Mode). Until then, in order to run Chat application with eXo Platform 3.5, there's no other choices than the Two servers configuration.**
Prerequisite : install eXo Platform 3.5 Tomcat bundle and rename it tomcat/
cp data/chat.properties tomcat/conf/
cp server/target/chatServer.war tomcat/webapps/
cp application/target/chat.war tomcat/webapps/
Use eXo start script :
cd tomcat
./start_eXo.sh
Now, point your browser to http://localhost:8080/portal/intranet/ and login with john/gtn
You will then 2 new applications you can find in the Applications section.
An eXo extension will be provided soon as a starter kit to auto-deploy the apps in eXo.