CBF2 is awesome? Hell yeah!

I've recently been blogging about CBF2 and talking about how great it is. But I admit that even just by looking at the blog post some people may not take it seriously assuming it's too complex. It's not.

What you'll get - in less than one hour

Today I did a demo on a topic that I'm extremely passioned about, horology. With the help of Miguel Leite, one of our UX wizards here, we did a one day push to build this project (bidder beware, this was a looooong day....).

The result? Absolutely spectacular, completely worth the effort:

And all this fueled by the amazingly powerful dataservices + annotations:

You can get this in even less than one hour; you know, it's just that most of the time is downloading stuff, and I kept getting distracted and forget to go back to what I was doing. I'm absolutely sure you can do it in much less!

So, let's go!

Pre requisites

Here's what you need:

  • Any operating system, and a machine with at least 8gb
  • Docker configured with at least 4gb on it (get it from here)
  • Git (or any UI for git)
  • Not being afraid to launch a terminal window...

C'mon, it's not asking much, is it?
Getting it all working in just 6 steps

1. Create a directory for pentaho and CBF

Create a directory called pentaho, open a terminal there and clone CBF2

You should have all the directory structure as described in the CBF2 blog post.

2. Download Pentaho 7.0

Under the software directory, create another folder, called (I like to use the version / build number) and put pentaho there, CE or EE:

  • Get CE from sourceforge: pentaho-server-ce-
  • Get EE from the Pentaho support portal (customers only): paz-plugin-ee-, pdd-plugin-ee-, pentaho-server-ee-, pir-plugin-ee- . If you download patches for, they will be automatically applied. In this case you also need to put your license files under the cbf2/licenses/ folder.

3. Get the horlogery-demo project

Clone the horlogery-demo project under the cbf2/projects directory:

4. Do the CBF2 magic

Under the cbf2/ folder you have the cbf2.sh magic script, built by pink unicorns. Go to that dir and...

  1. Execute cbf2 and press [A] to add a new image and select the server you downloaded. If you're using EE you'll need to accept the license agreement. A new image should be available
  2. Execute cbf2 and press [C] to create a new project. Select the horlogery-demo project and the image created previously.
  3. There's no 3

5. Start using it!

If everything went as expected, you should be seeing something like this:

pedro@orion:~/tex/pentaho/cbf2/projects/horlogery-demo (master *) $ cbf2

Core Images available:
[0] baserver-ce-
[1] baserver-ee-

Core containers available:

Project images available:
[2] pdu-horlogery-demo-baserver-ce-
[3] pdu-horlogery-demo-baserver-ee-

Project containers available:

> Select an entry number, [A] to add new image or [C] to create new project:

Select the project you want, press [L] to launch it and it will soon be available for you to start exploring!

(Note that depending on the operating system, the docker IP may not be though, I can't help there)

6. Next steps?

From this point on it's you writing your own project and success story! And I'm going to get some sleep, since I had nearly none last night!! :p

Have fun!