Git Product home page Git Product logo

blog-extension's Introduction

eXo Blog Extension

A simple multi-user blog extension for eXo Platform social intranet. It's a showcase of eXo content management capabilities.

You can discuss or find help on Blog Extension Community Space

Target : eXo Platform 4.0

How to Install

You can install the extension very easily using the add-ons manager

Using the Add-ons Manager (recommanded)

./addon.sh --install exo-blog-extension:1.1.0

If you don't have it already, you can quickly install the add-ons manager :

cd platform-4.0.5/
curl -L http://sourceforge.net/projects/exo/files/Addons/Add-ons%20Manager/addons-manager-1.0.0-alpha-2.zip/download -o addons-manager-1.0.0-alpha-2.zip
unzip addons-manager-1.0.0-alpha-2.zip

Using the Extensions Installer

If you don't want to install the add-ons manager on your eXo, you can still rely on the build-in extension.sh script that ships with eXo Platform 4.0.

cd platform-4.0.5/extensions
curl -L http://sourceforge.net/projects/exo/files/Addons/Blog%20Extension/exo-blog-extension-1.1.0.zip/download -o exo-blog-extension-1.1.0.zip 
unzip exo-blog-extension-1.1.0.zip
cd ..
unzip exo-blog-extension-1.1.0.zip
./extension.sh -i exo-blog-extension-1.1.0

How to Build

Step 1 : Build

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

Step 2 : Deploy

Prerequisite : install eXo Platform 4.0 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

Step 3 : Run

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 help

./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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.