Giter VIP home page Giter VIP logo

c3faces-showcase's Introduction

C3Faces showcase

This is the showcase for the C3Faces JSF library. The showcase is based on the work of Martin Linha who is the initial creator of the C3Faces library.

C3Faces is a JSF library using C3.js for the underlying rendering technology for every interactive chart.

In opposite to Highfaces works C3Faces together with Apache MyFaces and Oracles Mojarra.

The latest sources for C3Faces are available at GitHub. This repository is a fork of the original library created by Martin Linha. Because this library is no longer under active development it was forked by me and is also officially released to Maven central, so that usage of the library is that easy.

The built version of the showcase is available at http://c3faces.kivio.org. If you find any issues in the showcase or requesting new features or deeper explanation please file an Issue or a pull request.

Usage

This showcase uses TomEE 7.0.4 as application server. The whole showcase is also available as docker image.

Starting a local server

The showcase can be executed on every local machine which has Java 8 installed. Just call the following Maven command:

mvn clean package tomee:run

and open a browser calling the URL: http://localhost:8080/

Build and deploy docker image

The POM also includes the great Docker Maven plugin by fabric8. The image can be build by running the following Maven command:

mvn clean package docker:build

or if you want to execute the image in your local docker instance, execute the following Maven command:

mvn clean package docker:build docker:run

If you have a remote machine running a docker host, deploy the image to your machine and import it with the following command:

docker import docker-build.tar.gz

The image is available as c3faces-showcase or with its alias showcase.

A container based on that image can be started as follows:

docker run -d -p 8080:8080 --name showcase c3faces-showcase

Or if you want to use a different port, because 8080 is reserved by a different instance, execute the following command:

docker run -d -p 8081:8080 --name showcase c3faces-showcase

In case of error a container can be automatically restarted:

docker run -d -p 8081:8080 --restart unless-stopped --name showcase --network=kivio c3faces-showcase

c3faces-showcase's People

Contributors

martin-linha avatar rollinhand avatar

Watchers

 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.