Giter Club home page Giter Club logo

equellawebcomponents's Introduction

Equella Web components

Equella integration Web Components for the uPortal ecosystem.

You will need Node 8+ and Git 1+ to use this project.

Using the Build System

Initial Setup

After cloning, run the following command once to download project dependencies.

npm install

Run Locally

Use the following command to start the application locally for development and testing.

npm run serve

Build for Deployment

Use the following command to build Equella Web components for distribution and deployment in uPortal.

npm run build

Running in uPortal

After building, copy all the files in the dist/ directory into uPortal-start/overlays/uPortal/src/main/webapp (or other location served by Tomcat).

๐Ÿ““ At some point this project will build to a Maven artifact that can be bundled with uPortal-start independantly.

Components

Equella Search Results

Displays the results of a pre-configured search query attractively in the portal.

Sample HTML

Define a SimpleCMS portlet with HTML content like the following:

<script src="https://unpkg.com/[email protected]"></script>
<script type="text/javascript" src="/uPortal/equella.js"></script>
<equella-search-results msg="Equella Searching Demo" search-result-types="mini courses" base-url="https://equella.unicon.net/demo-oa18-up-eq-integ" collection-id="1ffa9507-4313-4f4f-9f6c-b923a897c515" result-icon="_THUMBS/promo.jpeg_PREVIEW_.jpeg" result-landing-page="index.html"/>

Equella Image Carousel

Displays an image carousel in the portal using attachments created and managed in Equella.

Sample HTML

Define a SimpleCMS portlet with HTML content like the following:

<script src="https://unpkg.com/[email protected]"></script>
<script type="text/javascript" src="/uPortal/equella.js"></script>
<equella-image-carousel base-url="https://equella.unicon.net/demo-oa18-up-eq-integ" search-tag="EVENT_2017_04_CONCERTS" result-image="_THUMBS/promo.jpeg_PREVIEW_.jpeg" result-landing-page="index.html"/>

equellawebcomponents's People

Contributors

drewwills avatar christianmurphy avatar cbeach47 avatar

Watchers

James Cloos avatar  avatar  avatar

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.