Skip to content

Latest commit

 

History

History
79 lines (54 loc) · 2.45 KB

README.md

File metadata and controls

79 lines (54 loc) · 2.45 KB

Version

Infinispan Console

This is the front end application for the web console of the new Infinispan Server 12.x

This application is built using Patternfly 4 and React

Before you start

This project needs a standalone infinispan server running locally. The Infinispan server exposes the REST API that is used in this console.

In production, this console is built as a dependency using maven. This dependency is added to the infinispan server bundle, so the console is served from the server in production.

Use Docker

To run the latest development release version, run 12.0

 docker run -it --rm -p 11222:11222 -e USER="user" -e PASS="pass" infinispan/server:12.0

Direct download

You can always download the server from the Infinispan website

Quick-start

git clone https://github.com/infinispan/infinispan-console # clone the project
cd infinispan-console # navigate into the project directory
npm install # install infinispan-consoledependencies
npm run start:dev # start the development server

Development Scripts

Install development/build dependencies npm install

Start the development server npm run start:dev

Run a production build (outputs to "dist" dir) npm run build

Run the test suite npm run test

Run the linter npm run lint

Run the code formatter npm run format

Launch a tool to inspect the bundle size npm run bundle-profile:analyze

Build de maven dependency

This console is built and released as a maven dependency used in the infinispan server.

mvn clean install

Configurations

Favicons

Generated with Favicon generator

Code Quality Tools

  • For accessibility compliance, we use react-axe
  • To keep our bundle size in check, we use webpack-bundle-analyzer
  • To keep our code formatting in check, we use prettier
  • To keep our code logic and test coverage in check, we use jest