Social Portal Extension Setup

From Gcube Wiki
Jump to: navigation, search

Get the latest gCube Portal Bundle

http://gcube.wiki.gcube-system.org/gcube/index.php/GCube_Portal_Installation and install it.

Get the needed dependencies for the Social Extension

Social Networking Library from maven (get the latest) nexus-search;quick~social-networking

<dependency>
  <groupId>org.gcube.portal</groupId>
  <artifactId>social-networking-library</artifactId>
  <version>1.0.0-SNAPSHOT</version>
</dependency>
  • Create a folder _social-library in $GLOBUS_LOCATION/lib
  • Copy in the yet created floder the SNL Dependencies & the Netflix Astyanax Dependencies:
<dependency>
  <groupId>com.netflix.astyanax</groupId>
  <artifactId>astyanax</artifactId>
  <version>CHECK THE VERSION IN SNL POM</version>
</dependency>
  • Get the latest ASL Social Extension and copy it into the $GLOBUS_LOCATION/lib/_application-support-layer folder

Create the Social Portal Layout on Liferay

The Layout of the Data e-Infrastructure Gateway Community must be updated, the following pages should be created (pay attention to friendly url and the hidden property)

  • Workspace
    • Name: Workspace
    • Friendly URL: workspace
    • Visibility: hidden
  • Messages
    • Name: Messages
    • Friendly URL: messages
    • Visibility: hidden
  • Notifications
    • Name: Notifications
    • Friendly URL: notifications
    • Visibility: hidden
  • Profile
    • Name: Profile
    • Friendly URL: profile
    • Visibility: visible
  • Join New
    • Name: Join New
    • Friendly URL: join-new
    • Visibility: visible

Populate the pages with the related portlets.