Skip to content

artaius/openchemlib-vaadin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

45 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

OpenChemLib Vaadin

Vaadin Java integration of the OpenChemLib JS components (OpenChemLib JS is the JavaScript port of the OpenChemLib Java library).

Usage

Find it on Vaadin addon directory or or directly add the following dependency to your project:

<dependency>
    <groupId>ch.artaios</groupId>
    <artifactId>openchemlib-vaadin</artifactId>
    <version>X.X.X</version>
</dependency>

Additionally you can also grab the precompiled jar file(s) from Releases.

To be able to properly run in development mode, don't forget to add package ch.artaios to src/main/resources/application.properties like follows:

vaadin.whitelisted-packages = com.vaadin,org.vaadin,dev.hilla,ch.artaios

Development

The project is based on SpringBoot.

Starting the test server

The following allows to experiment with the components in the browser.

  1. Run ch.artaios.TestServer in src/test/java/ch/artaios/openchemlib/vaadin.
  2. Open https://localhost:8443 in the browser.

Building

To build production version run:

mvn install -Pproduction

Screenshots

StructureView StructureView StructureView StructureView