A simple multi-user blog extension for eXo Platform social intranet. It's a showcase of eXo content management capabilities.
Prerequisite : install Maven 3.
git clone https://github.com/exo-addons/blog-extension.git
cd exoblog
then build the project with maven :
mvn clean install
or
./deploy.sh -m
Prerequisite : install eXo Platform 3.5 Tomcat bundle and rename it tomcat/
./deploy.sh -u
or
cp config/target/blog-config*.jar tomcat/lib
cp webapp/target/blog.war tomcat/webapp
Use eXo start script :
cd tomcat
./start_eXo.sh
or
./deploy.sh -r
Now, point your browser to http://localhost:8080/portal/intranet/blog and login with john/gtn
./deploy.sh -h
Script usage :
./deploy.sh [-r] [-c] [-t TOMCAT_HOME_DIRECTORY_PATH] [-d PLF_DATA_DIRECTORY_PATH] [-w PLF_WEBAPP_DIRECTORY_PATH]
-r start or restart the Tomcat server (default: do nothing)
-m build / rebuild with maven (default: do nothing)
-u update the project binaries in Tomcat (default: do nothing)
-c cleanup the Tomcat Platform (default: do nothing)
(data + logs + temp)
-t <path> the Platform Tomcat directory (default: tomcat)
-d <path> the Platform data directory (default: <TOMCAT-DIR>/gatein/data)
You can combine the r / m / u / c switches together to chain several actions.
For exemple you can rebuild the project, update the binaries and restart the tomcat with the following command :
./deploy.sh -m -u -r