Skip to content

Instantly share code, notes, and snippets.

@robhrt7
Last active August 29, 2015 14:13
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save robhrt7/cd3e0816be2ce570d478 to your computer and use it in GitHub Desktop.
Save robhrt7/cd3e0816be2ce570d478 to your computer and use it in GitHub Desktop.
Backbase CLI demo scenario

BB CLI demo

Proposal doc https://backbase.atlassian.net/wiki/display/ES/Backbase+Command+Line+Tools%2C+Proposal

CLI Tool repo https://github.com/Backbase/bb-cli Project set-up doc https://github.com/Backbase/bb-cli/blob/master/docs/dependencies-setup.md

Demo

Go to LP11 archetype project.

  1. Run bb init

  2. Link generated require-conf.js to your page

Add

<script src="/portalserver/static/bower_components/require-bower-config.js"></script>

to

portalserver/src/main/webapp/WEB-INF/launchpad/pages/launchpad-lib.jsp
  1. Install new independent component
bb install https://github.com/operatino/backbase-robert.git#sep-feed --save
  1. Install bundle of other components
bb install https://github.com/operatino/backbase-robert.git#sep-bundle

Forking component

  1. Clone existing component
cd portalserver/src/main/webapp/static
mkdir components
cd components
git clone -b sep-feed https://github.com/operatino/backbase-robert.git custom-feed
  1. Change something
open catalog-robert-feed.xml
  1. Deploy with install
bb deploy -I
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment